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
According to the documentation event markdown-lexer-config "is where lexer configuration can be set".
However, there is no example, and I could not find anybody using it (see for instance this github search).
I would like to implement a plugin adding a new lexer, but I do not understand how to use this event.
(Note that I could use lektor-shortcodes as a starting point, which I did, but the commit introducing markdown-lexer-config explicitly says that "he new hook is of use to plugins like lektor-shortcodes, which seek to add new lexing rules to the Markdown syntax". So I think there might be a simpler way to do this than to follow lektor-shortcodes way?)
Thanks
The text was updated successfully, but these errors were encountered:
From @paternal in lektor/lektor#587
The text was updated successfully, but these errors were encountered: