Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Markdown style #80

Open
PrzemyslawKlys opened this issue Aug 14, 2020 · 3 comments
Open

Enhance Markdown style #80

PrzemyslawKlys opened this issue Aug 14, 2020 · 3 comments
Labels

Comments

@PrzemyslawKlys
Copy link

After conversion from HTML to Markdown a lot of markdown rules are not respected.

image

In VSCode when I open the result the makrdownlint extension marks a lot of MD files with warnings.

image

While it's not really a problem, at some point you could maybe look at "optimizing" returned content to be compliant with MD RFC.

Of course not sure it all makes sense as some people may not want that - just a thought.

@mysticmind
Copy link
Owner

It is going to be quite a challenge to achieve/satisfy linting rules fully since we are converting html back to markdown in the reverse. In most cases, html contains both content as well as html tags corresponding to presentation structure/layouts with several layers of nesting.

@PrzemyslawKlys
Copy link
Author

Once you have "conversion" ready you can then take that conversion and "optimize it". Maybe another method? First, one does conversion, second optimizes markdown?

@mysticmind
Copy link
Owner

Let me give it a thought on the optimization bit, will keep you posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants