-
Notifications
You must be signed in to change notification settings - Fork 50
docs: use TOML 1.1 inline tables (#104) #146
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
base: master
Are you sure you want to change the base?
Changes from all commits
276cf48
368e476
d7c6bfd
7a64725
d2d1495
48f417b
98dacf6
9da4a3e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,9 +19,10 @@ following lines to your configuration: | |
| === "`zensical.toml`" | ||
|
|
||
| ``` toml | ||
| [project.markdown_extensions.attr_list] | ||
| [project.markdown_extensions.md_in_html] | ||
| [project.markdown_extensions.pymdownx.blocks.caption] | ||
| [project.markdown_extensions] | ||
| attr_list = {} | ||
| md_in_html = {} | ||
| pymdownx.blocks.caption = {} | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this case, I would accept the edit as
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right! |
||
| ``` | ||
|
|
||
| === "`mkdocs.yml`" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -525,7 +525,7 @@ configuration: | |
|
|
||
| === "`zensical.toml`" | ||
|
|
||
| ```toml | ||
| ``` toml | ||
| [project.theme] | ||
| name = "my_theme" | ||
| ``` | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do wonder if this should be
pymdownx.tabbed = { slugify = ...? That would be consistent with the way the superfences one is done (see below)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm. Yeah maybe it's better to stay consistent and only keep extension names as keys 🤔