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

Support for Callouts #26

Open
Tracked by #2
SakuraIsayeki opened this issue Jun 2, 2023 · 1 comment
Open
Tracked by #2

Support for Callouts #26

SakuraIsayeki opened this issue Jun 2, 2023 · 1 comment

Comments

@SakuraIsayeki
Copy link
Member

SakuraIsayeki commented Jun 2, 2023

Premise

To fully support Obsidian-flavoured Markdown, we need to implement support for Callouts, as defined in #2.

Solution

Overview

Adding a new extension/converter to the current Markdig rendering pipeline solutions this issue in the best manner possible.

Requirements

  • Callouts should follow the exact specification as defined in Obsidian's documentation.
  • Support for callout icons should be left up to the user to toggle and switch, from a list of well-known providers (Bootstrap Icons, Font Awesome, etc)
  • Support for Bootstrap being contingent for now to this feature (using their Alerts), this feature is dependent on usage of Bootstrap, and should be reflected and guarded as such in the pipeline builder.
@SakuraIsayeki
Copy link
Member Author

Update

Support for GitHub's equivalent of Callouts was implemented within Markdig v0.36 (see: xoofx/markdig#776). However the supported format is far less permissive than Obsidian's variant.

To support all features, a fork of the original extension will be needed.

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

No branches or pull requests

1 participant