-
I am creating a document using the resilient book class with djot as a markup language. Is there a way to change the font of verbatim content? I see that the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Greetings, Good question. Eventually in the "resilient" scheme, this ought to be done with styles, possibly with inheritance, to cover both inline code and code blocks -- Currently they just rely on SILE's To be honest I did not work much on these, as my main focus currently is in on novels, which seldom need code (inline or verbatim) ;) (Code blocks also ought to have a better solution for syntax highlighting, currently only supported for Lua with a naive approach and a hard-coded theme, but that's a broader topic). A workaround for your question, currently, is to add a regular I'll change this question into an enhancement issue and try to see if I can address it properly with styles in a later version. Not sure it can fit in the next version (planned around October or November), but it should definitively be tackled at one point. |
Beta Was this translation helpful? Give feedback.
Greetings,
Good question. Eventually in the "resilient" scheme, this ought to be done with styles, possibly with inheritance, to cover both inline code and code blocks -- Currently they just rely on SILE's
code
andverbatim
directly, respectively -- a quick and dirty choice (They both pick the Hack font directly and independently, in SILE's core implementation)To be honest I did not work much on these, as my main focus currently is in on novels, which seldom need code (inline or verbatim) ;)
(Code blocks also ought to have a better solution for syntax highlighting, currently only supported for Lua with a naive approach and a hard-coded theme, but that's a broader topic).
A workaround for…