Skip to content

Commit 6a5da64

Browse files
author
yaroslav
committed
update docs
1 parent 253b979 commit 6a5da64

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
pip install -r docs/requirements.txt
2727
pip install -e .
2828
29-
#- name: Import check
30-
# run: python -c "import omd2tex"
29+
- name: Import check
30+
run: python -c "import omd2tex"
3131

3232
- name: Clean build directory
3333
run: rm -rf docs/_build/html

omd2tex/objects/codeblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def _apply_blocktype(self) -> BaseClass:
211211
"""Dispatch block rendering based on the specified block type."""
212212
functions = {
213213
"example": lambda content: Paragraph(
214-
f"\\begin{{example}}\n{'\n'.join(content)}\n\\end{{example}}"
214+
"\\begin{example}\n" + "\n".join(content) + "\n\\end{example}"
215215
),
216216
"hidden": lambda content: Paragraph("", parse=False),
217217
"text": lambda content: Paragraph("\n".join(content)),

0 commit comments

Comments
 (0)