ndy2 / mkdocs-obsidian-support-plugin

A MkDocs plugin that supports obsidian to mkdocs convert
https://ndy2.github.io/mkdocs-obsidian-support-plugin/
MIT License
14 stars 4 forks source link

Doesn't work #1

Closed PierreR2 closed 1 year ago

PierreR2 commented 1 year ago

Hi, Installed the plugin and enabled it. Copied the given examples, rendered correctly in Obsidian but not in mkdocs site.

Obsidian:

> [!note] haha
> I am obsidian callout!
> 
> I became mkdocs admonition!

Site: image

Any suggestions?

Thanks!

ndy2 commented 1 year ago

It seems the plugin successfully convert the >[!note] to !!! note "" syntax

Did you add mkdocs admonition plugin configuration in your mkdocs.yml?

markdown_extensions:
  - admonition
  - pymdownx.details
  - pymdownx.superfences
PierreR2 commented 1 year ago

Mh, I have the extensions added. Tried adding an admonition in the "native" syntax, doesn't work either. So something seems to be wrong with my setup.

Will test further and let you know. Thanks!

PierreR2 commented 1 year ago

Okay, solved! My config was wrong, now working like a charm, thanks!