We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please help prevent duplicate issues before submitting a new one:
Convert markdown text to attributed string, with bulleted lists spanning multiple lines.
The bulleted list to be indented properly.
The bulleted list is not indented properly.
The text was updated successfully, but these errors were encountered:
I tried looking into the codes, and found out that by commenting this one line, the indent showed up ok.
diff --git a/Sources/Down/AST/Styling/Helpers/ListItemParagraphStyler.swift b/Sources/Down/AST/Styling/Helpers/ListItemParagraphStyler.swift index 71313bd..ab76f30 100644 --- a/Sources/Down/AST/Styling/Helpers/ListItemParagraphStyler.swift +++ b/Sources/Down/AST/Styling/Helpers/ListItemParagraphStyler.swift @@ -70,7 +70,7 @@ public class ListItemParagraphStyler { let firstLineContentIndentation = contentIndentation + prefixSpill let style = baseStyle - style.firstLineHeadIndent = prefixIndentation + // style.firstLineHeadIndent = prefixIndentation style.tabStops = [tabStop(at: firstLineContentIndentation)] style.headIndent = contentIndentation return style
It does remove some indent from the starting though, which I am not sure what are they really for.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Please help prevent duplicate issues before submitting a new one:
Report
What did you do?
Convert markdown text to attributed string, with bulleted lists spanning multiple lines.
What did you expect to happen?
The bulleted list to be indented properly.
What happened instead?
The bulleted list is not indented properly.
The text was updated successfully, but these errors were encountered: