fix(mkdocs): update sample md file
This commit is contained in:
@@ -32,7 +32,6 @@ class TechDocsCore(BasePlugin):
|
||||
config['plugins']['search'] = search_plugin
|
||||
|
||||
# Markdown Extensions
|
||||
print(config)
|
||||
config['markdown_extensions'].append('admonition')
|
||||
config['markdown_extensions'].append('abbr')
|
||||
config['markdown_extensions'].append('attr_list')
|
||||
@@ -51,11 +50,11 @@ class TechDocsCore(BasePlugin):
|
||||
config['markdown_extensions'].append('markdown.extensions.tables')
|
||||
config['markdown_extensions'].append('markdown_inline_graphviz')
|
||||
config['markdown_extensions'].append('plantuml_markdown')
|
||||
config['markdown_extensions'].append('markdown_katex')
|
||||
config['mdx_configs']['markdown_katex'] = {
|
||||
'no_inline_svg': True,
|
||||
'insert_fonts_css': True,
|
||||
}
|
||||
#config['markdown_extensions'].append('markdown_katex')
|
||||
#config['mdx_configs']['markdown_katex'] = {
|
||||
# 'no_inline_svg': True,
|
||||
# 'insert_fonts_css': True,
|
||||
#}
|
||||
config['markdown_extensions'].append('pymdownx.betterem')
|
||||
config['mdx_configs']['pymdownx.betterem'] = {
|
||||
'smart_enable': 'all',
|
||||
@@ -77,7 +76,6 @@ class TechDocsCore(BasePlugin):
|
||||
'custom_checkbox': True,
|
||||
}
|
||||
config['markdown_extensions'].append('pymdownx.tilde')
|
||||
print(config)
|
||||
|
||||
return config
|
||||
|
||||
|
||||
@@ -2,3 +2,31 @@
|
||||
|
||||
!!! test
|
||||
Testing somethin
|
||||
|
||||
Some text about MOCDOC
|
||||
|
||||
\*[MOCDOC]: Mock Documentation
|
||||
|
||||
This is a paragraph.
|
||||
{: #test_id .test_class }
|
||||
|
||||
Apple
|
||||
: Pomaceous fruit of plants of the genus Malus in
|
||||
the family Rosaceae.
|
||||
|
||||
```javascript
|
||||
import { test } from 'something';
|
||||
|
||||
const addThingToThing = (a, b) a + b;
|
||||
```
|
||||
|
||||
- [abc](#abc)
|
||||
- [xyz](#xyz)
|
||||
|
||||
## abc
|
||||
|
||||
This is a b c.
|
||||
|
||||
## xyz
|
||||
|
||||
This is x y z.
|
||||
|
||||
Reference in New Issue
Block a user