Nothing generated using import syntax #2000
-
--8<-- "wtf.md" or --8<-- "includes/wtf.md" with both mkdocs serve and build, the above syntax just gets printed on the output page. I don't see any serve nor build errors. I have the following in my mkdocs.yml. Any help is greatly appreciated theme: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I know nothing of your environment. If you were able to create a minimal, reproducible zip and provide it here, I may have the time to look at it, but right now, I have no idea from what little info you've provided. |
Beta Was this translation helpful? Give feedback.
-
Please read MkDocs and Pymdown Extensions documentation carefully. This was a user configuration error. You did a couple of things incorrectly.
site_name: My Docs
theme:
name: readthedocs
font:
text: Roboto
markdown_extensions:
- pymdownx.snippets:
check_paths: True
base_path: docs |
Beta Was this translation helpful? Give feedback.
Please read MkDocs and Pymdown Extensions documentation carefully. This was a user configuration error. You did a couple of things incorrectly.
You indented Markdown extension options under the theme options. This will cause the Markdown extensions not to load as they will not be seen.
throwExceptions
is not an option that is available in Snippets. This will cause the extension not to load as well.This is more a YAML usage error, but you need to properly indent the YAML options for Snippets under the declaration for Snippets.