Closed allejo closed 4 years ago
Since CommonMark allows for anything to exist in the "info string", let's add support for our code blocks to be highlighted.
```html{2} <div> <p>I wish I wish I was a fish</p> </div> ```
Markdown Engine: src/allejo/stakx/MarkupEngine/MarkdownEngine.php
src/allejo/stakx/MarkupEngine/MarkdownEngine.php
Proposed Syntax
html{4}
html{4-5}
html{1,4-5}
Since CommonMark allows for anything to exist in the "info string", let's add support for our code blocks to be highlighted.
Markdown Engine:
src/allejo/stakx/MarkupEngine/MarkdownEngine.php
Proposed Syntax
html{4}
- highlight the 4th line of the code blockhtml{4-5}
- highlight the 4th through 5th lines of codehtml{1,4-5}
- highlight the 1st and 4th through 5th line of code separately