markdown-editor icon indicating copy to clipboard operation
markdown-editor copied to clipboard

Support line numbers in code blocks

Open ZothOmmog opened this issue 8 months ago • 2 comments

Description

Code blocks currently lack the ability to display line numbers.

Proposal

Add an optional feature to enable line numbering.

For example, something like this:

```javascript showLineNumbers
const foo = 'bar';
```.

ZothOmmog avatar Aug 27 '25 07:08 ZothOmmog

already work with transform 4.55

https://github.com/diplodoc-platform/transform/releases/tag/v4.55.0

ZothOmmog avatar Aug 27 '25 08:08 ZothOmmog

already work with transform 4.55

https://github.com/diplodoc-platform/transform/releases/tag/v4.55.0

Yeah, but WYSIWYG does not support line numbers. So I'm reopening this issue

d3m1d0v avatar Aug 27 '25 10:08 d3m1d0v