Skip to content
New issue

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

feat(parser/renderer): support explicit line breaks #195

Merged
merged 1 commit into from
Oct 6, 2018

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Oct 6, 2018

supported with the + suffix in paragraph lines,
and the `[%hardbreaks] attribute on a paragraph.

fixes #189

Signed-off-by: Xavier Coulon [email protected]

@xcoulon xcoulon force-pushed the Issue189_explicit_line_break branch from 4c18c43 to 3c123ed Compare October 6, 2018 15:13
supported with the ` +` suffix in paragraph lines,
with the `[%hardbreaks] attribute on a paragraph and
with the `:hardbreaks:` attribute at the document level.

also, refactoring in the renderer to remove some
functions that can be replaced with native templates
functions, and simplify others.

fixes bytesparadise#189

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon force-pushed the Issue189_explicit_line_break branch from 3c123ed to b1ccebb Compare October 6, 2018 15:37
@xcoulon xcoulon merged commit f5f87cc into bytesparadise:master Oct 6, 2018
@xcoulon xcoulon deleted the Issue189_explicit_line_break branch October 6, 2018 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for explicit line breaks
1 participant