From 38f67053d3b3b66389b9df330cef75e9e46bc34c Mon Sep 17 00:00:00 2001 From: Bot Date: Sun, 24 Dec 2023 13:59:35 +0000 Subject: [PATCH] DOCS : Regenerated docs. --- README.md | 4 ++-- docs/public/index.md | 4 ++-- docs/public/using/all-template-features.md | 4 ++-- docs/public/using/deliberate-failure.md | 4 ++-- docs/public/using/insert.md | 8 ++++---- docs/public/using/latex-cv.md | 4 ++-- docs/public/using/latex-letter.md | 4 ++-- docs/public/using/markdown.md | 4 ++-- docs/public/using/module.md | 6 +++--- docs/public/using/orji-run-multiple.md | 6 +++--- docs/public/using/orji-run.md | 6 +++--- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index edcc808..ac2c7e4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Simple org mode file used with simple template. simple.org -```simple.org +``` * A normal note Just a note @@ -37,7 +37,7 @@ File taxes for wife too. simple.jinja2 -```simple.jinja2 +``` {% for note in root %} {%- if note.state == "TODO" -%} # {{ note.name }} ({% for tag in note.tags %}{{ tag }}{% endfor %}) diff --git a/docs/public/index.md b/docs/public/index.md index b04479b..ac49d05 100644 --- a/docs/public/index.md +++ b/docs/public/index.md @@ -22,7 +22,7 @@ Simple org mode file used with simple template. simple.org -```simple.org +``` * A normal note Just a note @@ -41,7 +41,7 @@ File taxes for wife too. simple.jinja2 -```simple.jinja2 +``` {% for note in root %} {%- if note.state == "TODO" -%} # {{ note.name }} ({% for tag in note.tags %}{{ tag }}{% endfor %}) diff --git a/docs/public/using/all-template-features.md b/docs/public/using/all-template-features.md index e24441e..a2a7de1 100644 --- a/docs/public/using/all-template-features.md +++ b/docs/public/using/all-template-features.md @@ -19,7 +19,7 @@ demonstrates getting: simple.org -```simple.org +``` * TODO A todo note About text @@ -53,7 +53,7 @@ Subnote C body. simple.jinja2 -```simple.jinja2 +``` {% for note in root %} ------------------------- Name: {{ note.name }} diff --git a/docs/public/using/deliberate-failure.md b/docs/public/using/deliberate-failure.md index 922e660..e4b3eac 100644 --- a/docs/public/using/deliberate-failure.md +++ b/docs/public/using/deliberate-failure.md @@ -15,14 +15,14 @@ This lets you create templates which [fail fast](https://en.wikipedia.org/wiki/F example.org -```example.org +``` * existent ``` example.jinja2 -```example.jinja2 +``` This is some text {{ fail("this shouldn't happen") }} diff --git a/docs/public/using/insert.md b/docs/public/using/insert.md index 539e4b3..5c2f132 100644 --- a/docs/public/using/insert.md +++ b/docs/public/using/insert.md @@ -11,7 +11,7 @@ Insert a file as a note. org/simple.org -```org/simple.org +``` * TODO Insert before this note * DONE Done item @@ -20,13 +20,13 @@ org/simple.org speech.txt -```speech.txt +``` This is a note generated by speech to text. ``` notetemplate.jinja2 -```notetemplate.jinja2 +``` * TODO New note {{ text }} @@ -35,7 +35,7 @@ notetemplate.jinja2 tmp/_ -```tmp/_ +``` ``` diff --git a/docs/public/using/latex-cv.md b/docs/public/using/latex-cv.md index 859bc2f..ebf33cd 100644 --- a/docs/public/using/latex-cv.md +++ b/docs/public/using/latex-cv.md @@ -24,7 +24,7 @@ conflicting with latex syntax. cv.org -```cv.org +``` * details ** name @@ -76,7 +76,7 @@ Increased search volume by 50%. cv.jinja2 -```cv.jinja2 +``` %-----------------------------------------------------------------------------------------------------------------------------------------------% % The MIT License (MIT) % diff --git a/docs/public/using/latex-letter.md b/docs/public/using/latex-letter.md index c26fd4d..42e2212 100644 --- a/docs/public/using/latex-letter.md +++ b/docs/public/using/latex-letter.md @@ -21,7 +21,7 @@ Unlike traditional jinja2, latexmode jinja2 uses different syntax to avoid confl letter.org -```letter.org +``` * from details ** name @@ -65,7 +65,7 @@ P.S. An iPhone would also be acceptable. letter.jinja2 -```letter.jinja2 +``` % Thin Formal Letter % LaTeX Template % Version 2.0 (7/2/17) diff --git a/docs/public/using/markdown.md b/docs/public/using/markdown.md index 652a709..81188d7 100644 --- a/docs/public/using/markdown.md +++ b/docs/public/using/markdown.md @@ -11,7 +11,7 @@ Convert chunks of orgmode text into markdown using .body.markdown. markdown.org -```markdown.org +``` * Note title Text with /emphasis/ and *bold* and a [[https://www.google][link]]. @@ -23,7 +23,7 @@ Text with /emphasis/ and *bold* and a [[https://www.google][link]]. markdown.jinja2 -```markdown.jinja2 +``` {{ root.at("Note title").body.markdown }} ``` diff --git a/docs/public/using/module.md b/docs/public/using/module.md index 6990767..52c5b0d 100644 --- a/docs/public/using/module.md +++ b/docs/public/using/module.md @@ -14,7 +14,7 @@ Don't be tempted to make it too complicated though. note.org -```note.org +``` * Note 1 * Note 2 @@ -23,7 +23,7 @@ note.org note.jinja2 -```note.jinja2 +``` {% for note in root %} {{ to_upper(note.name) }} {% endfor %} @@ -32,7 +32,7 @@ note.jinja2 note.py -```note.py +```python def to_upper(string): return string.upper() diff --git a/docs/public/using/orji-run-multiple.md b/docs/public/using/orji-run-multiple.md index ecb3c9b..3da8d21 100644 --- a/docs/public/using/orji-run-multiple.md +++ b/docs/public/using/orji-run-multiple.md @@ -21,7 +21,7 @@ With --multiple then multiple matching scripts will be run. org/simple.org -```org/simple.org +``` * TODO Wash car :email-reminder: Car wash. @@ -32,7 +32,7 @@ Car wash. org/simple2.org -```org/simple2.org +``` * Another note * TODO File taxes :email-reminder: @@ -45,7 +45,7 @@ File taxes for wife too. orun/email-reminder.sh -```orun/email-reminder.sh +```bash echo {{ note.body.oneline }} ``` diff --git a/docs/public/using/orji-run.md b/docs/public/using/orji-run.md index 233ff82..a420581 100644 --- a/docs/public/using/orji-run.md +++ b/docs/public/using/orji-run.md @@ -21,7 +21,7 @@ If there are zero or two notes matching scripts then it will raise an error. org/simple.org -```org/simple.org +``` * TODO An email I want to send :email: ** email @@ -46,7 +46,7 @@ File taxes for wife too. org/simple2.org -```org/simple2.org +``` * Another note * Another irrelevant note. @@ -55,7 +55,7 @@ org/simple2.org orun/email.sh -```orun/email.sh +```bash echo {{ note.at("body").body.oneline }} cat {{ note.at("email").body.tempfile() }}