lostenderman / markdown

:notebook_with_decorative_cover: A package for converting and rendering markdown documents in TeX
http://ctan.org/pkg/markdown
LaTeX Project Public License v1.3c
1 stars 0 forks source link

Links and images #140

Closed lostenderman closed 1 year ago

lostenderman commented 1 year ago

Closes #9 Closes #10 Closes #47 Closes #48

Closes #39 Closes #49 Closes #50 Closes #51 Closes #52 Closes #53 Closes #54 Closes #57 Closes #59 Closes #60 Closes #61 Closes #62 Closes #103

lostenderman commented 1 year ago

I suspect that the implementation of emphasis (and strong emphasis) #138 will have to be merged with the implementation of links (and images) similarly to this essentially, because of these examples:

522:

*foo [bar* baz]

This is an emphasis because the link has no reference.

533:

*[foo*][ref]

[ref]: /uri

This is not an emphasis because the link has a reference.

Currently, only the second example would be parsed correctly. In the first one, no emphasis would be produced since the link is matched, even though it does not produce a link.