swift-markdown-ui icon indicating copy to clipboard operation
swift-markdown-ui copied to clipboard

[Feature Request] Support InlineSyntax

Open singularity-s0 opened this issue 3 years ago • 1 comments
trafficstars

This library will become much more powerful if it adds support for user-defined custom syntaxes (inline syntax).

To define these syntaxes, the developer will:

  1. specify a list of Regular Expressions that matches the corresponding syntax block in the document,
  2. then specify the View that handles each block.

If you are familiar with Flutter (another declarative UI framework), flutter_markdown provides a good example of how this works.

singularity-s0 avatar Mar 09 '22 08:03 singularity-s0

Thank you for the feedback! I will have a look at the doc you provided.

gonzalezreal avatar Mar 12 '22 17:03 gonzalezreal