peg-markdown-highlight
peg-markdown-highlight copied to clipboard
C library for Markdown syntax highlighting, using a recursive-descent parser.
Currently `(*) *BOLD* text` is parsed as `() BOLD*` text. It should be `(*) BOLD text` according to CommonMark. Is CommonMark expected in this project?
It seems that there is no way to separately style the text and url of markdown links with PEG Markdown Highlight. I'd love to give the link itself a separate...
Since `Sp` is defined as `Spacechar*`, right now a line like: #foo Will be treated as a heading, which is uncommon enough for the CommonMark spec to specify as a...
Hi, I am using PEG Markdown Highlight to parse the Markdown and do the syntax highlight. When parsing the following Markdown file, the `pmh_markdown_to_elements()` never returns. [Code on Gist](https://gist.github.com/tamlok/f264d81958262399646efa10a68de9f3) Thanks...
Thank you for your great library!
Hi, thanks for your great work! Does peg-markdown-highlight support the code block? For example: ``` cpp #include int main() { int a, b; } ``` It seems not working well...
Fixes
Fixed “handleStyleParsingError” warning. Fixed font size issue. Removed scrolling tracking, seems faster when it parses and highlights the whole file.
https://help.github.com/articles/github-flavored-markdown
Occurs on: macOS 13.5 Beta (22G5048d); I did not test to see if this is a macOS regression. Please see the video: https://github.com/ali-rantakari/peg-markdown-highlight/assets/489327/a4c6edb6-a4f9-49b0-b64c-c8206ca47a3b Notice that the text below the headers...
input value :#@\$^\^&*^( 1 enter the project code path 2 CC=gcc -fsanitize=address make 3 ./highligher #@\$^\^&*^( 4 program crash and the stacktrace is : Direct leak of 248 byte(s) in...