-
Notifications
You must be signed in to change notification settings - Fork 2
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
Content tabs #14
Comments
That's a nice surprise that the admonition logic might just work! So, I'm actually in the process of deleting that file now (#13) once my PR changes are released for the plugins package: executablebooks/mdit-py-plugins#58 You could certainly implement just the parser in the same way I've included it here, but over the long-run, I would probably recommend:
I think having a dedicated plugin in Whichever approach you take, I would be happy to add your plugin to I'm about to leave for vacation for over a week, so you caught me at a bad time, but hopefully this information is helpful! I'd be happy to add my input on code reviews or discuss other approaches as well |
Also, to add, I'm not against supporting |
Hi Kyle, |
Turns out this was straightforward to implement! There is now support for content-tabs in the latest version of |
I've moved the Content Tab logic to https://github.com/KyleKing/mdformat-mkdocs#mdformat-mkdocs along with a number of other improvements that should make the feature more reliable I can release v2.0.0 as soon as pip install mdformat-mkdocs@git+https://github.com/KyleKing/mdformat-mkdocs.git |
Hi,
I've been using your plugin and it has been working great with Mkdocs and Material style admonitions. However, in my project I also use content tabs (https://squidfunk.github.io/mkdocs-material/reference/content-tabs) which are extremely similar to admonitions.
I've forked your repository and figured out that the only change would be to add
===
in theMARKERS
tuple and corresponding tests. But, this made me realise that there would be so much code in common.I am not sure how to approach this as you have already fully integrated this plugin and the name of does not really correspond to the content tabs. Do you have any suggestions or ideas? I would be more than happy to contribute.
The text was updated successfully, but these errors were encountered: