orgajs icon indicating copy to clipboard operation
orgajs copied to clipboard

Cannot Nest Rich Text Formatting

Open subthedubdub opened this issue 4 years ago • 2 comments

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\.

subthedubdub avatar Feb 25 '21 15:02 subthedubdub

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.

GuiltyDolphin avatar Jul 18 '21 14:07 GuiltyDolphin

It also does not support links:

*[[link]]*
{
  type: 'document'
, children: [
    {
      type: 'paragraph'
    , children: [
        {
          type: 'text.bold'
        , value: '[[link]]'
        }
      ]
    }
  ]
}

BlackGlory avatar Aug 19 '21 07:08 BlackGlory