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

Allow handling of "custom" tokens in the Markdown widget #2440

Closed
davep opened this issue May 1, 2023 · 2 comments · Fixed by #2803
Closed

Allow handling of "custom" tokens in the Markdown widget #2440

davep opened this issue May 1, 2023 · 2 comments · Fixed by #2803
Labels
enhancement New feature or request Task

Comments

@davep
Copy link
Contributor

davep commented May 1, 2023

With #2075 the Markdown widget allowed for easy customisation; this meant that a different parser could be used, but it also allows for adding in various plugins too. However, some plugins will result in tokens that Markdown doesn't know about.

Extend the Markdown widget so that a developer can inherit from it and add support for new tokens.

This will greatly support Textualize/frogmouth#20 and allow for something like Textualize/frogmouth#15 to be easily resolved.

@davep davep added enhancement New feature or request Task labels May 1, 2023
@davep davep linked a pull request Jun 21, 2023 that will close this issue
@davep
Copy link
Contributor Author

davep commented Jun 21, 2023

Closing as satisfied by #2803.

@davep davep closed this as completed Jun 21, 2023
@github-actions
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant