Skip to content

Having icons rendered within code blocks. #4771

Answered by squidfunk
UltraInstinct05 asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, interesting idea. Theoretically, it should be possible, albeit I'm not sure at which stage this would need to be implemented, as those short codes might interfere with highlighting. @facelessuser could this be done somehow prior to lexing, i.e. by taking the shortcodes out and inserting them back in after highlighting, or does it mandate an extra lexer for each and every language?

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@squidfunk
Comment options

@facelessuser
Comment options

@squidfunk
Comment options

@squidfunk
Comment options

@facelessuser
Comment options

Answer selected by squidfunk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants