Skip to content

Commit

Permalink
Use raw HTML which is better for Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcameron committed Apr 22, 2024
1 parent b2e5d1d commit fe4e13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def counts(self, *locations: CSSLocator | TagLocator | str) -> dict:
def render(
self,
input_format: str = "html-native_divs-native_spans",
output_format: str = "gfm",
output_format: str = "gfm-raw_html",
output_options: List[str] = ["--wrap=none"],
) -> str:
"""Render the draft HTML content to a Pandoc formatted output.
Expand All @@ -742,7 +742,7 @@ def render(
Defaults to "html-native_divs-native_spans". This is recommended to
preserve only the necessary HTML tags and attributes.
output_format (str, optional): A Pandoc supported format.
Defaults to "gfm" or Github Flavored Markdown (GFM).
Defaults to "gfm-raw_html" or Github Flavored Markdown (GFM).
output_options (List[str], optional): A list of Pandoc write options.
Defaults to ["--wrap=none"]. See available options:
https://pandoc.org/MANUAL.html#options
Expand Down

0 comments on commit fe4e13d

Please sign in to comment.