npm / marky-markdown

npm's markdown parser
https://www.npmjs.com/package/@npmcorp/marky-markdown
405 stars 72 forks source link

Updating tags and attributes to reflect closer to github [WIP] #440

Closed SMotaal closed 2 years ago

SMotaal commented 5 years ago

I'd like to open this "work-in-progress" PR to add a few subtle inconsistencies between github and npm rendering.

This relating to critical and deeply routed aspects of the renderer, I thought starting the PR early on in the effort is better for relevant discussions and concerns.

The first commit simply adds allowedAttributes:

jacksteamdev commented 5 years ago

This would be great! I have several readme files based on the templates at The Documentation Compendium where the badges use <div align="center">. It looks great on GitHub, but not on npm! I'd love to see this on npm.