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
In this case, goldmark would be given the following data as input:
# Heading
[Link](https://example.com)
The problem is that since there's indentation in it, goldmark parses everything as a code block. If possible, I'd like there to be a parser option to provide the base indentation width, so that the parser can ignore that and only detect code blocks if the indentation level is above the provided base level.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm writing a templating engine and I'm trying to add a markdown tag to it using goldmark. The syntax looks something like this:
In this case, goldmark would be given the following data as input:
The problem is that since there's indentation in it, goldmark parses everything as a code block. If possible, I'd like there to be a parser option to provide the base indentation width, so that the parser can ignore that and only detect code blocks if the indentation level is above the provided base level.
Beta Was this translation helpful? Give feedback.
All reactions