You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance YFM by introducing a line numbering feature for code blocks. This feature would allow users to easily add line numbers to their code snippets, facilitating easier reference and discussion.
Proposed Solution
Introduce a new key, showLineNumbers, within the language meta string of code blocks.
Syntax Example
md input
```javascript showLineNumbers
const example = "This is a code block.";
console.log(examples);
result
1constexample="This is a code block.";2console.log(examples);
"In the code block on line 2 ..."
The text was updated successfully, but these errors were encountered:
Enhance YFM by introducing a line numbering feature for code blocks. This feature would allow users to easily add line numbers to their code snippets, facilitating easier reference and discussion.
Proposed Solution
Introduce a new key,
showLineNumbers
, within the language meta string of code blocks.Syntax Example
md input
result
The text was updated successfully, but these errors were encountered: