orgajs
orgajs copied to clipboard
Cannot Nest Rich Text Formatting
E.g. I would expect that */word/* would render as word (bold and emphasized). Instead is renders as /word/.
Issue is that inline markup (as defined in inline.ts tokenizer) does not tokenize delimiters. E.g. */word/* should be tokenized as
[*, \, word. \, *]. Instead it renders as a text.bold token with contents \word\.
Support for nested rich text formatting is available in #104. Per the spec, code and verbatim do not support this, whilst bold, italics, etc. do.
It also does not support links:
*[[link]]*
{
type: 'document'
, children: [
{
type: 'paragraph'
, children: [
{
type: 'text.bold'
, value: '[[link]]'
}
]
}
]
}