empress / empress/ember-showdown-prism

Line Numbers in Code Blocks

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

How can I configure to not show the line numbers for my code blocks?

```js
posts: [
{
id: 1,
title: 'This is my first post',
body: 'Some description would go here'
}
]
```

When I view the page I see this

![image](https://user-images.githubusercontent.com/655716/91356174-3e671680-e7bd-11ea-8234-f583abbe5e08.png)

I opened a ticket with ember-prism, thinking maybe that comes from them, but they say on theirs the default is no line numbers

Contributor guide

Open the contributing guide

Research direction

Start by checking the addon's integration with ember-prism, which the issue identifies as the source of the code-block behavior. Confirm where line numbers are enabled and whether the existing configuration can disable them; done when the shown fenced JavaScript block renders without line numbers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.