Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Conversion to Markdown unaware of links #152

Closed
nilshoerrmann opened this issue Nov 6, 2019 · 1 comment
Closed

Conversion to Markdown unaware of links #152

nilshoerrmann opened this issue Nov 6, 2019 · 1 comment
Labels
difficulty: medium 🤨 Issue is somewhere between easy and hard to solve type: bug 🐛 Issue is a bug; PR is a bugfix
Milestone

Comments

@nilshoerrmann
Copy link

When exporting Editor content to Markdown, links are not properly converted and are kept as HTML inside the Markdown document. They should be converted to their Markdown or KirbyText representation.

Considering that there will be third-party blocks, it might be interesting to not convert each block individually but take the full resulting HTML of the field and convert it to Markdown using something like https://github.com/thephpleague/html-to-markdown.

@bastianallgeier bastianallgeier added type: bug 🐛 Issue is a bug; PR is a bugfix difficulty: medium 🤨 Issue is somewhere between easy and hard to solve labels Nov 18, 2019
@bastianallgeier
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
difficulty: medium 🤨 Issue is somewhere between easy and hard to solve type: bug 🐛 Issue is a bug; PR is a bugfix
Projects
None yet
Development

No branches or pull requests

2 participants