Replies: 3 comments 3 replies
-
I'd like to do the same sort of thing with words between tilde symbols (so a marked up document could be processed in order to remove any words identified as strikethrough words, between the tilde symbols.) |
Beta Was this translation helpful? Give feedback.
0 replies
-
All extensions are actually good examples, just have a look at how they are organized and play from there. https://github.com/yuin/goldmark/blob/master/extension/strikethrough.go |
Beta Was this translation helpful? Give feedback.
3 replies
-
Thanks, @zzwx ! I was able to get this to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to write a tool that scans markdown files to detect the code span (the 3 backtick sections) and extract those texts and their line number in the original file. Is something like this possible with this library? Do you have any example how to access the AST and do something like this?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions