Skip to content

Display non-markdown content in the WYSIWYG mode of the SSE::Kramdown

Implementation issue for #216836 (closed)

Custom HTML Renderer - Kramdown

  • Target syntax: {: }
  • Regex: (^{:.+}$)/gm

Solution thoughts:

TODO

  • Implementation
    • initial
    • - TOC accounted for? (node.type === 'list' parent and replace it and children if confirmed match)
    • cleanup
      • abstraction for all kramdown related processing into a single service possible against the customHTMLRenderer API?
      • Toast UI .ts import consts vs. magic strings?
  • Tests
  • Code review
Edited by Derek Knox