diff --git a/previews/PR155/assets/themes/documenter-dark.css b/previews/PR155/assets/themes/documenter-dark.css index cbeca20..c6db4fa 100644 --- a/previews/PR155/assets/themes/documenter-dark.css +++ b/previews/PR155/assets/themes/documenter-dark.css @@ -7320,6 +7320,8 @@ html.theme--documenter-dark { overflow-x: auto; } html.theme--documenter-dark .content blockquote > ul:first-child, html.theme--documenter-dark .content blockquote > ol:first-child, html.theme--documenter-dark .content .admonition-body > ul:first-child, html.theme--documenter-dark .content .admonition-body > ol:first-child { margin-top: 0; } + html.theme--documenter-dark pre, html.theme--documenter-dark code { + font-variant-ligatures: no-contextual; } html.theme--documenter-dark .breadcrumb a.is-disabled { cursor: default; pointer-events: none; } diff --git a/previews/PR155/assets/themes/documenter-light.css b/previews/PR155/assets/themes/documenter-light.css index 4a928f6..b3291bc 100644 --- a/previews/PR155/assets/themes/documenter-light.css +++ b/previews/PR155/assets/themes/documenter-light.css @@ -7287,6 +7287,9 @@ h1:hover .docs-heading-anchor-permalink, h2:hover .docs-heading-anchor-permalink .content blockquote > ul:first-child, .content blockquote > ol:first-child, .content .admonition-body > ul:first-child, .content .admonition-body > ol:first-child { margin-top: 0; } +pre, code { + font-variant-ligatures: no-contextual; } + .breadcrumb a.is-disabled { cursor: default; pointer-events: none; } diff --git a/previews/PR155/customprocessing/index.html b/previews/PR155/customprocessing/index.html index 572c0c1..159980b 100644 --- a/previews/PR155/customprocessing/index.html +++ b/previews/PR155/customprocessing/index.html @@ -26,4 +26,4 @@ include("file2.jl")
Let's say we have saved this fi end return str end
(of course replace included with your respective files)
Finally, you simply pass this function to e.g. Literate.markdown as
Literate.markdown("examples.jl", "path/to/save/markdown";
- name = "markdown_file_name", preprocess = replace_includes)and you will see that in the final output file (here markdown_file_name.md) the include statements are replaced with the actual code to be included!
This approach is used for generating the examples in the documentation of the TimeseriesPrediction.jl package. The example files, included together in the stexamples.jl file, are processed by literate via this make.jl file to generate the markdown and code cells of the documentation.
Settings
This document was generated with Documenter.jl on Thursday 8 July 2021. Using Julia version 1.6.1.