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

use goldmark ecosystem to define options #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kunde21
Copy link
Owner

@Kunde21 Kunde21 commented Feb 5, 2021

Initial idea on adding extensions and render options to markdownfmt.

Allow extensions to register rendering functions.
@Kunde21 Kunde21 linked an issue Feb 5, 2021 that may be closed by this pull request
@karelbilek
Copy link
Collaborator

I would not consider goldmark a good example on how to do extensions

will write later when I get more time :D

@Kunde21
Copy link
Owner Author

Kunde21 commented Feb 5, 2021

Not the one I would design if we were starting from scratch, but the goldmark ecosystem already exists using this pattern.

Copy link
Collaborator

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am ok with any of this. Anything that makes our life simpler (: I don't think we are forced to use goldmark pattern. Even what you suggests looks the same on our API level, so does not matter for me 🤗

Up to you, lgtm

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

Successfully merging this pull request may close these issues.

Project Goal/Roadmap? Potential Collaboration or known fork
3 participants