diff --git a/.gitignore b/.gitignore
index 2799368e..2c45f6dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*.mkdocs
*.pdf
*.mkdocs.src
+__folianttmp__
\ No newline at end of file
diff --git a/foliant.yml b/foliant.yml
index c42e694c..cc51d1c1 100644
--- a/foliant.yml
+++ b/foliant.yml
@@ -52,6 +52,8 @@ chapters:
- config/from.md
- config/slugs.md
+escape_code: true
+
preprocessors:
- macros:
macros:
diff --git a/mkdocs.yml b/mkdocs.yml
index 0d8ce3b4..b02b75f1 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,6 +1,5 @@
-repo_name: foliant-docs/docs
-repo_url: https://github.com/foliant-docs/docs
-edit_uri: edit/master/src/
+repo_url: https://github.com/foliant-docs/foliant
+edit_uri: ""
theme:
name: material
palette:
@@ -13,11 +12,12 @@ theme:
favicon: assets/octopus-black-32.ico
extra:
social:
- - type: github
- link: https://github.com/foliant-docs/foliant
+ - type: book
+ link: https://github.com/foliant-docs/docs
- type: file-pdf-o
link: /docs/assets/foliant-docs.pdf
markdown_extensions:
+ - smarty
- def_list
- codehilite
- toc:
diff --git a/src/backends/mkdocs.md b/src/backends/mkdocs.md
index d3d4dd34..28fac14a 100644
--- a/src/backends/mkdocs.md
+++ b/src/backends/mkdocs.md
@@ -1,5 +1,3 @@
# MkDocs
-
- $https://github.com/foliant-docs/foliantcontrib.mkdocs.git$README.md
-
+
diff --git a/src/backends/pandoc.md b/src/backends/pandoc.md
index ef0076d3..23b8e02d 100644
--- a/src/backends/pandoc.md
+++ b/src/backends/pandoc.md
@@ -1,5 +1,3 @@
# Pandoc
-
- $https://github.com/foliant-docs/foliantcontrib.pandoc.git$README.md
-
+
\ No newline at end of file
diff --git a/src/backends/slate.md b/src/backends/slate.md
index b1d8f90d..d68d5b70 100644
--- a/src/backends/slate.md
+++ b/src/backends/slate.md
@@ -1,5 +1,3 @@
# Slate
-
- $https://github.com/foliant-docs/foliantcontrib.slate.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/bump.md b/src/cli/bump.md
index e38eb109..89b0b095 100644
--- a/src/cli/bump.md
+++ b/src/cli/bump.md
@@ -1,5 +1,3 @@
# Bump
-
- $https://github.com/foliant-docs/foliantcontrib.bump.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/gupload.md b/src/cli/gupload.md
index b8e1cd03..c387c95c 100644
--- a/src/cli/gupload.md
+++ b/src/cli/gupload.md
@@ -1,5 +1,3 @@
# Gupload
-
- $https://github.com/foliant-docs/foliantcontrib.gupload.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/init/index.md b/src/cli/init/index.md
index 1588e351..0ffd7329 100644
--- a/src/cli/init/index.md
+++ b/src/cli/init/index.md
@@ -1,5 +1,3 @@
# Init {#foliantcontrib-init}
-
- $https://github.com/foliant-docs/foliantcontrib.init.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/init/templates/preprocessor.md b/src/cli/init/templates/preprocessor.md
index 8478fe2f..bc69ce07 100644
--- a/src/cli/init/templates/preprocessor.md
+++ b/src/cli/init/templates/preprocessor.md
@@ -1,5 +1,3 @@
# Preprocessor
-
- $https://github.com/foliant-docs/foliantcontrib.templates.preprocessor.git#develop$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/meta.md b/src/cli/meta.md
index 9b2ea2e6..51af7ce4 100644
--- a/src/cli/meta.md
+++ b/src/cli/meta.md
@@ -1,5 +1,3 @@
# Meta
-
- $https://github.com/foliant-docs/foliantcontrib.meta.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/project_graph.md b/src/cli/project_graph.md
index dd143b99..ea85bc6e 100644
--- a/src/cli/project_graph.md
+++ b/src/cli/project_graph.md
@@ -1,5 +1,3 @@
# ProjectGraph
-
- $https://github.com/foliant-docs/foliantcontrib.project_graph.git$README.md
-
+
\ No newline at end of file
diff --git a/src/cli/subset.md b/src/cli/subset.md
index 328d3722..88b42e5b 100644
--- a/src/cli/subset.md
+++ b/src/cli/subset.md
@@ -1,5 +1,3 @@
# Subset
-
- $https://github.com/foliant-docs/foliantcontrib.subset.git$README.md
-
+
\ No newline at end of file
diff --git a/src/index.md b/src/index.md
index 87cc42f7..958255ae 100644
--- a/src/index.md
+++ b/src/index.md
@@ -22,6 +22,4 @@ You’ll love Foliant if you:
## Changelog
-
- $https://github.com/foliant-docs/foliant.git#develop$changelog.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/admonitions.md b/src/preprocessors/admonitions.md
index eb4ff1e2..7ed01e0e 100644
--- a/src/preprocessors/admonitions.md
+++ b/src/preprocessors/admonitions.md
@@ -1,5 +1,3 @@
# Admonitions
-
- $https://github.com/foliant-docs/foliantcontrib.admonitions.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/anchors.md b/src/preprocessors/anchors.md
index 9da4e699..2883453a 100644
--- a/src/preprocessors/anchors.md
+++ b/src/preprocessors/anchors.md
@@ -1,5 +1,3 @@
# Anchors
-
- $https://github.com/foliant-docs/foliantcontrib.anchors.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/apilinks.md b/src/preprocessors/apilinks.md
index 8b5eccd3..9f4d42b4 100644
--- a/src/preprocessors/apilinks.md
+++ b/src/preprocessors/apilinks.md
@@ -1,5 +1,3 @@
# APILinks
-
- $https://github.com/foliant-docs/foliantcontrib.apilinks.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/badges.md b/src/preprocessors/badges.md
index 907c0736..012879ed 100644
--- a/src/preprocessors/badges.md
+++ b/src/preprocessors/badges.md
@@ -1,5 +1,3 @@
# Badges
-
- $https://github.com/foliant-docs/foliantcontrib.badges.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/bindsympli.md b/src/preprocessors/bindsympli.md
index 70402123..4fbe65b8 100644
--- a/src/preprocessors/bindsympli.md
+++ b/src/preprocessors/bindsympli.md
@@ -1,5 +1,3 @@
# BindSympli
-
- $https://github.com/foliant-docs/foliantcontrib.bindsympli.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/blockdiag.md b/src/preprocessors/blockdiag.md
index 2ca6760d..6ee2b7c7 100644
--- a/src/preprocessors/blockdiag.md
+++ b/src/preprocessors/blockdiag.md
@@ -1,5 +1,3 @@
# Blockdiag
-
- $https://github.com/foliant-docs/foliantcontrib.blockdiag.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/csvtables.md b/src/preprocessors/csvtables.md
index 427dc119..3deec9b8 100644
--- a/src/preprocessors/csvtables.md
+++ b/src/preprocessors/csvtables.md
@@ -1,5 +1,3 @@
# CSVTables
-
- $https://github.com/foliant-docs/foliantcontrib.csvtables.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/customids.md b/src/preprocessors/customids.md
index 33a24080..342d2bee 100644
--- a/src/preprocessors/customids.md
+++ b/src/preprocessors/customids.md
@@ -1,5 +1,3 @@
# CustomIDs
-
- $https://github.com/foliant-docs/foliantcontrib.customids.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/epsconvert.md b/src/preprocessors/epsconvert.md
index 6b5b3e56..7ec5f61e 100644
--- a/src/preprocessors/epsconvert.md
+++ b/src/preprocessors/epsconvert.md
@@ -1,5 +1,3 @@
# Epsconvert
-
- $https://github.com/foliant-docs/foliantcontrib.epsconvert.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/escapecode.md b/src/preprocessors/escapecode.md
index a76c5038..75266cec 100644
--- a/src/preprocessors/escapecode.md
+++ b/src/preprocessors/escapecode.md
@@ -1,5 +1,3 @@
# EscapeCode and UnescapeCode
-
- $https://github.com/foliant-docs/foliantcontrib.escapecode.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/flags.md b/src/preprocessors/flags.md
index d1545516..17785513 100644
--- a/src/preprocessors/flags.md
+++ b/src/preprocessors/flags.md
@@ -1,5 +1,3 @@
# Flags
-
- $https://github.com/foliant-docs/foliantcontrib.flags.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/flatten.md b/src/preprocessors/flatten.md
index a4463305..f8085fb6 100644
--- a/src/preprocessors/flatten.md
+++ b/src/preprocessors/flatten.md
@@ -1,5 +1,3 @@
# Flatten
-
- $https://github.com/foliant-docs/foliantcontrib.flatten.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/graphviz.md b/src/preprocessors/graphviz.md
index cee78c61..f3da0242 100644
--- a/src/preprocessors/graphviz.md
+++ b/src/preprocessors/graphviz.md
@@ -1,5 +1,3 @@
# Graphviz
-
- $https://github.com/foliant-docs/foliantcontrib.graphviz.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/imagemagick.md b/src/preprocessors/imagemagick.md
index e528c775..1593b68d 100644
--- a/src/preprocessors/imagemagick.md
+++ b/src/preprocessors/imagemagick.md
@@ -1,5 +1,3 @@
# ImageMagick
-
- $https://github.com/foliant-docs/foliantcontrib.imagemagick.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/imgcaptions.md b/src/preprocessors/imgcaptions.md
index a5f5e1c3..e53025ed 100644
--- a/src/preprocessors/imgcaptions.md
+++ b/src/preprocessors/imgcaptions.md
@@ -1,5 +1,3 @@
# ImgCaptions
-
- $https://github.com/foliant-docs/foliantcontrib.imgcaptions.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/includes.md b/src/preprocessors/includes.md
index 7c3e7493..c2551b14 100644
--- a/src/preprocessors/includes.md
+++ b/src/preprocessors/includes.md
@@ -1,5 +1,3 @@
# Includes
-
- $https://github.com/foliant-docs/foliantcontrib.includes.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/macros.md b/src/preprocessors/macros.md
index 25f4376e..f5169548 100644
--- a/src/preprocessors/macros.md
+++ b/src/preprocessors/macros.md
@@ -1,5 +1,3 @@
# Macros
-
- $https://github.com/foliant-docs/foliantcontrib.macros.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/mermaid.md b/src/preprocessors/mermaid.md
index 2498c71b..59b6abcf 100644
--- a/src/preprocessors/mermaid.md
+++ b/src/preprocessors/mermaid.md
@@ -1,5 +1,3 @@
# Mermaid
-
- $https://github.com/foliant-docs/foliantcontrib.mermaid.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/multilinetables.md b/src/preprocessors/multilinetables.md
index 158fa384..4453d8ca 100644
--- a/src/preprocessors/multilinetables.md
+++ b/src/preprocessors/multilinetables.md
@@ -1,5 +1,3 @@
# MultilineTables
-
- $https://github.com/foliant-docs/foliantcontrib.multilinetables.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/pgsqldoc.md b/src/preprocessors/pgsqldoc.md
index bc1b95f9..62cfa457 100644
--- a/src/preprocessors/pgsqldoc.md
+++ b/src/preprocessors/pgsqldoc.md
@@ -1,5 +1,3 @@
# Pgsqldoc
-
- $https://github.com/foliant-docs/foliantcontrib.pgsqldoc.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/plantuml.md b/src/preprocessors/plantuml.md
index 1730878c..3dd6412b 100644
--- a/src/preprocessors/plantuml.md
+++ b/src/preprocessors/plantuml.md
@@ -1,5 +1,3 @@
# Plantuml
-
- $https://github.com/foliant-docs/foliantcontrib.plantuml.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/replace.md b/src/preprocessors/replace.md
index f47a7557..a69c169f 100644
--- a/src/preprocessors/replace.md
+++ b/src/preprocessors/replace.md
@@ -1,5 +1,3 @@
# Replace
-
- $https://github.com/foliant-docs/foliantcontrib.replace.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/runcommands.md b/src/preprocessors/runcommands.md
index 776cf931..cd2e2b05 100644
--- a/src/preprocessors/runcommands.md
+++ b/src/preprocessors/runcommands.md
@@ -1,5 +1,3 @@
# RunCommands
-
- $https://github.com/foliant-docs/foliantcontrib.runcommands.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/swaggerdoc.md b/src/preprocessors/swaggerdoc.md
index 94033dea..4a56c2f4 100644
--- a/src/preprocessors/swaggerdoc.md
+++ b/src/preprocessors/swaggerdoc.md
@@ -1,5 +1,3 @@
# SwaggerDoc
-
- $https://github.com/foliant-docs/foliantcontrib.swaggerdoc.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/templateparser.md b/src/preprocessors/templateparser.md
index 8b0051aa..ba4f4882 100644
--- a/src/preprocessors/templateparser.md
+++ b/src/preprocessors/templateparser.md
@@ -1,5 +1,3 @@
# TemplateParser
-
- $https://github.com/foliant-docs/foliantcontrib.templateparser.git$README.md
-
+
\ No newline at end of file
diff --git a/src/preprocessors/testrail.md b/src/preprocessors/testrail.md
index 9a209f1f..8511df33 100644
--- a/src/preprocessors/testrail.md
+++ b/src/preprocessors/testrail.md
@@ -1,5 +1,3 @@
# Testrail
-
- $https://github.com/foliant-docs/foliantcontrib.testrail.git$README.md
-
+
\ No newline at end of file