Skip to content

Commit 56aa9cb

Browse files
committed
docs: documented escape_lists
1 parent 193dcb8 commit 56aa9cb

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ output = text2markdown(
7676
strike_junk=True,
7777
block_quotes=True,
7878
italicize_refs=True,
79+
escape_lists=True,
7980
enrichment_model="kanon-2-enricher",
8081
isaacus_client=Isaacus(),
8182
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "text2markdown"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = [{ name = "Isaacus", email = "support@isaacus.com" }]
55
description = "A Python library for intelligently converting text into Markdown."
66
readme = "README.md"

src/text2markdown/async_text2markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def text2markdown_async(
3030
3131
block_quotes (bool, optional): Whether to transform non-inline quotes into Markdown block quotes.
3232
33-
escape_lists (bool, optional): Whether to escape list-like lines (lines starting with "-", "*", "+", or numbered lists). This leads to nicer rendering at the cost of cleaner Markdown source code.
33+
escape_lists (bool, optional): Whether to escape list-like lines (lines starting with "-", "*", "+", or numbered lists).
3434
3535
italicize_refs (bool, optional): Whether to italicize the names of any referenced documents, for example, "as mentioned in *Smith v. Jones*".
3636

src/text2markdown/text2markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def text2markdown(
220220
221221
block_quotes (bool, optional): Whether to transform non-inline quotes into Markdown block quotes.
222222
223-
escape_lists (bool, optional): Whether to escape list-like lines (lines starting with "-", "*", "+", or numbered lists). This leads to nicer rendering at the cost of cleaner Markdown source code.
223+
escape_lists (bool, optional): Whether to escape list-like lines (lines starting with "-", "*", "+", or numbered lists).
224224
225225
italicize_refs (bool, optional): Whether to italicize the names of any referenced documents, for example, "as mentioned in *Smith v. Jones*".
226226

0 commit comments

Comments
 (0)