Text
This commit is contained in:
parent
4318bc1677
commit
9644c34ed2
@ -52,7 +52,11 @@ AUTHOR_FEED_ATOM = None
|
|||||||
AUTHOR_FEED_RSS = None
|
AUTHOR_FEED_RSS = None
|
||||||
USE_FOLDER_AS_CATEGORY = True
|
USE_FOLDER_AS_CATEGORY = True
|
||||||
DEFAULT_DATE = 'fs'
|
DEFAULT_DATE = 'fs'
|
||||||
STATIC_PATHS = [ 'images', 'files' ]
|
STATIC_PATHS = [ 'images', 'files', 'extras' ]
|
||||||
|
|
||||||
|
EXTRA_PATH_METADATA = {
|
||||||
|
'extras/favicon.ico': {'path': 'favicon.ico'},
|
||||||
|
}
|
||||||
|
|
||||||
MARKDOWN = {
|
MARKDOWN = {
|
||||||
'extension_configs': {
|
'extension_configs': {
|
||||||
@ -81,9 +85,14 @@ JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
|
|||||||
|
|
||||||
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
||||||
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml"]
|
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml"]
|
||||||
#, "render_math", "md-metayaml"
|
|
||||||
#PLUGINS = ["better_tables", "just_table"]
|
#PLUGINS = ["better_tables", "just_table"]
|
||||||
|
|
||||||
|
PDF_PROCESSOR = True
|
||||||
|
|
||||||
|
PANDOC_OUTPUTS = {
|
||||||
|
'pdf': 'pdf',
|
||||||
|
}
|
||||||
|
|
||||||
PANDOC_ARGS = [
|
PANDOC_ARGS = [
|
||||||
"--variable=documentclass:extarticle",
|
"--variable=documentclass:extarticle",
|
||||||
"--variable=toc-title:Содержание",
|
"--variable=toc-title:Содержание",
|
||||||
@ -91,25 +100,10 @@ PANDOC_ARGS = [
|
|||||||
"--filter=pandoc_plantuml_filter.py",
|
"--filter=pandoc_plantuml_filter.py",
|
||||||
"--highlight-style=tango",
|
"--highlight-style=tango",
|
||||||
"--template=wiki",
|
"--template=wiki",
|
||||||
"--resource-path=wiki"
|
"--resource-path=wiki:."
|
||||||
]
|
]
|
||||||
|
|
||||||
PDF_PROCESSOR = True
|
PANDOC_EXTRA_OPTIONS = PANDOC_ARGS + [ "--pdf-engine=xelatex" ]
|
||||||
|
|
||||||
PANDOC_OUTPUTS = {
|
|
||||||
'pdf': 'pdf',
|
|
||||||
}
|
|
||||||
|
|
||||||
PANDOC_EXTRA_OPTIONS = [
|
|
||||||
"--variable=documentclass:extarticle",
|
|
||||||
"--variable=toc-title:Содержание",
|
|
||||||
"--filter=skip-toc-tag",
|
|
||||||
"--filter=pandoc_plantuml_filter.py",
|
|
||||||
"--highlight-style=tango",
|
|
||||||
"--resource-path=wiki",
|
|
||||||
"--template=wiki",
|
|
||||||
"--pdf-engine=xelatex"
|
|
||||||
]
|
|
||||||
|
|
||||||
PANDOC_MARKDOWN_EXTENSIONS = [
|
PANDOC_MARKDOWN_EXTENSIONS = [
|
||||||
"+smart",
|
"+smart",
|
||||||
@ -121,6 +115,8 @@ PANDOC_MARKDOWN_EXTENSIONS = [
|
|||||||
"+native_spans"
|
"+native_spans"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
PANDOC_EXTENSIONS = PANDOC_MARKDOWN_EXTENSIONS
|
||||||
|
|
||||||
YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
||||||
YUICOMPRESSOR_EXTRA_OPTIONS = ["--nomunge"]
|
YUICOMPRESSOR_EXTRA_OPTIONS = ["--nomunge"]
|
||||||
PLUGINS += ["yuicompressor-opt"]
|
PLUGINS += ["yuicompressor-opt"]
|
||||||
|
@ -52,7 +52,11 @@ AUTHOR_FEED_ATOM = None
|
|||||||
AUTHOR_FEED_RSS = None
|
AUTHOR_FEED_RSS = None
|
||||||
USE_FOLDER_AS_CATEGORY = True
|
USE_FOLDER_AS_CATEGORY = True
|
||||||
DEFAULT_DATE = 'fs'
|
DEFAULT_DATE = 'fs'
|
||||||
STATIC_PATHS = [ 'images', 'files' ]
|
STATIC_PATHS = [ 'images', 'files', 'extras' ]
|
||||||
|
|
||||||
|
EXTRA_PATH_METADATA = {
|
||||||
|
'extras/favicon.ico': {'path': 'favicon.ico'},
|
||||||
|
}
|
||||||
|
|
||||||
MARKDOWN = {
|
MARKDOWN = {
|
||||||
'extension_configs': {
|
'extension_configs': {
|
||||||
@ -81,9 +85,14 @@ JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
|
|||||||
|
|
||||||
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
PLUGIN_PATHS = ["plugins/official", "plugins/thirdparty"]
|
||||||
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml"]
|
PLUGINS = [i18n(), "pandoc_reader", "pelican-css", "pelidoc", "series", "subcategory", "tag_cloud", "tipue_search", "plantuml"]
|
||||||
#, "render_math", "md-metayaml"
|
|
||||||
#PLUGINS = ["better_tables", "just_table"]
|
#PLUGINS = ["better_tables", "just_table"]
|
||||||
|
|
||||||
|
#PDF_PROCESSOR = True
|
||||||
|
|
||||||
|
PANDOC_OUTPUTS = {
|
||||||
|
'pdf': 'pdf',
|
||||||
|
}
|
||||||
|
|
||||||
PANDOC_ARGS = [
|
PANDOC_ARGS = [
|
||||||
"--variable=documentclass:extarticle",
|
"--variable=documentclass:extarticle",
|
||||||
"--variable=toc-title:Содержание",
|
"--variable=toc-title:Содержание",
|
||||||
@ -91,28 +100,10 @@ PANDOC_ARGS = [
|
|||||||
"--filter=pandoc_plantuml_filter.py",
|
"--filter=pandoc_plantuml_filter.py",
|
||||||
"--highlight-style=tango",
|
"--highlight-style=tango",
|
||||||
"--template=wiki",
|
"--template=wiki",
|
||||||
"--resource-path=wiki"
|
"--resource-path=wiki:."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
PANDOC_EXTRA_OPTIONS = PANDOC_ARGS + [ "--pdf-engine=xelatex" ]
|
||||||
### for PDF """
|
|
||||||
|
|
||||||
#PDF_PROCESSOR = True
|
|
||||||
|
|
||||||
PANDOC_OUTPUTS = {
|
|
||||||
'pdf': 'pdf',
|
|
||||||
}
|
|
||||||
|
|
||||||
PANDOC_EXTRA_OPTIONS = [
|
|
||||||
"--variable=documentclass:extarticle",
|
|
||||||
"--variable=toc-title:Содержание",
|
|
||||||
"--filter=skip-toc-tag",
|
|
||||||
"--filter=pandoc_plantuml_filter.py",
|
|
||||||
"--highlight-style=tango",
|
|
||||||
"--resource-path=wiki",
|
|
||||||
"--template=wiki",
|
|
||||||
"--pdf-engine=xelatex"
|
|
||||||
]
|
|
||||||
|
|
||||||
PANDOC_MARKDOWN_EXTENSIONS = [
|
PANDOC_MARKDOWN_EXTENSIONS = [
|
||||||
"+smart",
|
"+smart",
|
||||||
@ -124,7 +115,7 @@ PANDOC_MARKDOWN_EXTENSIONS = [
|
|||||||
"+native_spans"
|
"+native_spans"
|
||||||
]
|
]
|
||||||
|
|
||||||
### ###
|
PANDOC_EXTENSIONS = PANDOC_MARKDOWN_EXTENSIONS
|
||||||
|
|
||||||
YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
YUICOMPRESSOR_EXECUTABLE = "yui-compressor"
|
||||||
YUICOMPRESSOR_EXTRA_OPTIONS = ["--nomunge"]
|
YUICOMPRESSOR_EXTRA_OPTIONS = ["--nomunge"]
|
||||||
|
@ -10,18 +10,13 @@ summary:
|
|||||||
Пример приведён ниже:
|
Пример приведён ниже:
|
||||||
|
|
||||||
![1](images/oo-shutup/1.jpg)
|
![1](images/oo-shutup/1.jpg)
|
||||||
{: .img-center }
|
|
||||||
|
|
||||||
![2](images/oo-shutup/2.jpg)
|
![2](images/oo-shutup/2.jpg)
|
||||||
{: .img-center }
|
|
||||||
|
|
||||||
![3](images/oo-shutup/3.jpg)
|
![3](images/oo-shutup/3.jpg)
|
||||||
{: .img-center }
|
|
||||||
|
|
||||||
![4](images/oo-shutup/4.jpg)
|
![4](images/oo-shutup/4.jpg)
|
||||||
{: .img-center }
|
|
||||||
|
|
||||||
![5](images/oo-shutup/5.jpg)
|
![5](images/oo-shutup/5.jpg)
|
||||||
{: .img-center }
|
|
||||||
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue
Block a user