Skip to content
Discussion options

You must be logged in to vote

N.B. For your case probably via a bracketed span replacing (and/or around) the code inline element.

I am quite sure we currently map code inline elements directly to SILE's "code" without handling any special attributes, incl. styles. There was some reason for that. While Djot theoretically accepts attributes everywhere, it can also become very messy to mix elements that have a natural semantic styling (italic, bold, verbatim) with higher-level styles that can affect that natural styling.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Omikhleia
Comment options

Answer selected by pekkavaa
@pekkavaa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants