MarkdownKit icon indicating copy to clipboard operation
MarkdownKit copied to clipboard

Code Element have some corner cases not handled.

Open bmoliveira opened this issue 5 years ago • 1 comments

I've found at least 2 bugs with the Code element:

  • When the language that the code block is specified is added it's not being interpreted as a Markdown character and its interpreted as content.

Example:

func bug() {}

shows as:

swift
func bug() {}
  • When there are other ` surrounding other expressions the surrounding expression disappear

Example:

/// lets test `this` out

show as

/// lets test out

bmoliveira avatar Jan 21 '19 17:01 bmoliveira

At the moment I don't have much time to tackle this since is a medium to hard complexity issue with the parsing method.

I'll tackle it as soon as I can.

bmoliveira avatar Jan 21 '19 17:01 bmoliveira