Replies: 1 comment 10 replies
-
Depending on the format, the components inside the curly brackets varies, e.g., for HTML See https://m.canouil.dev/quarto-highlight-text/ for an example of implementation for multi format with a unified input syntax. Regarding the "first sentence" etc. you need a LUA filter and define the logic to read/parse paragraphs, then apply what you want. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I want to have different kinds of text in a document be typeset in different ways;
For a paragraph I want the first lines be black text, started by a bold, and then I want the next line to be red, started by a bold red word.
But maybe not red? I won't know until I've seen it in print. My guess is the code would look something like this
I just borrowed the syntax from {.aside} here, but I hope you get my point. Any advice or pointers on how toying around with styles and testing could be done would be greatly appreciated. The end goal is a printed palmphlet, so maybe this task is easiest to do in latex directly?
Beta Was this translation helpful? Give feedback.
All reactions