Pandoc, Markdown
This commit is contained in:
parent
caf090e2c1
commit
9ed0a3d3ba
@ -59,6 +59,9 @@ MARKDOWN = {
|
||||
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||
'markdown.extensions.extra': {},
|
||||
'markdown.extensions.meta': {},
|
||||
'markdown.extensions.toc': {
|
||||
'title': 'Содержание'
|
||||
},
|
||||
} ,
|
||||
'output_format': 'html5',
|
||||
}
|
||||
@ -77,9 +80,27 @@ I18N_GETTEXT_DOMAIN = 'messages'
|
||||
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
|
||||
|
||||
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
||||
PLUGINS = [i18n(), "md-metayaml", "render_math", "series", "subcategory", "tag_cloud", "tipue_search", "pelican-css"]
|
||||
PLUGINS = [i18n(), "pelidoc", "md-metayaml", "render_math", "series", "subcategory", "tag_cloud", "tipue_search", "pelican-css"]
|
||||
#PLUGINS = ["better_tables", "just_table"]
|
||||
|
||||
PDF_PROCESSOR = True
|
||||
|
||||
PANDOC_OUTPUTS = {
|
||||
'pdf': 'pdf',
|
||||
}
|
||||
|
||||
PANDOC_EXTRA_OPTIONS = [
|
||||
"--toc",
|
||||
"-V", "toc-title:Содержание",
|
||||
"-F", "skip-toc-tag",
|
||||
"--template=wiki",
|
||||
"--pdf-engine=xelatex"
|
||||
]
|
||||
|
||||
PANDOC_MARKDOWN_EXTENSIONS = [
|
||||
"+smart"
|
||||
]
|
||||
|
||||
#YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
||||
#PLUGINS += ["yuicompressor"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user