Skip to content

Subtitles #50

Answered by pml-lang
coemgenuslcp asked this question in Q&A
Jul 21, 2021 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I am myself not happy with the title attribute in ch nodes (and other nodes), for two reasons:

  • It is currently not possible to embed markup code in a title. For example, if we write title = "An [i awesome] idea", then "awesome" is not rendered in italics.
  • Attributes should exclusively be used for meta-data, not for text that appears in the final document.

My idea is therefore to make the following changes:

  • Remove the title attribute
  • Add a title node that must be the first child of the ch node. The node can contain inline nodes. Example:
[ch [title An [i awesome] idea]
    ...
]

is there a recommended way to have a subtitle (or two ... or three) under a title?

No. The best you can c…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@coemgenuslcp
Comment options

@pml-lang
Comment options

@coemgenuslcp
Comment options

@pml-lang
Comment options

Answer selected by coemgenuslcp
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
enhancement New feature or request
2 participants