You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This generates a line break in the ODT which renders pretty badly with a justified text and a short line.
What I expect
My feeling is that a line break in a md paragraph should be rendered without line break in the ODT.
In markdown only a "double space" at the end of a line in paragraph triggers a linebreak in the result.
This avoid the text wrap in editor. You can just go at the line when you want and as soon as you do not double space you stay in the same paragraph.
Suggestion
I just discovered mistune a fast python markdown parser.
With mistune one can write a Renderer to output the parsed markdown. I started writing an ODTRenderer (it's quite easy !) but then found out that secretary has a markdown filter and stopped.
Such renderer as a markdown filter logic replacement may be easier to maintain.
What is you position about dependencies ?
Do you accept pull requests on this project ? I may be interested to do one on this subject.
Anyway Secretary is pretty cool ! Thank you for your effort on this !
The text was updated successfully, but these errors were encountered:
Hi !
It seems that there is a problem with the mardown filter.
What I see
A line break in a markdown paragraph trigger the creation of a line break in the ODT.
This generates a line break in the ODT which renders pretty badly with a justified text and a short line.
What I expect
My feeling is that a line break in a md paragraph should be rendered without line break in the ODT.
In markdown only a "double space" at the end of a line in paragraph triggers a linebreak in the result.
This avoid the text wrap in editor. You can just go at the line when you want and as soon as you do not double space you stay in the same paragraph.
Suggestion
I just discovered mistune a fast python markdown parser.
With mistune one can write a Renderer to output the parsed markdown. I started writing an ODTRenderer (it's quite easy !) but then found out that secretary has a markdown filter and stopped.
Such renderer as a markdown filter logic replacement may be easier to maintain.
What is you position about dependencies ?
Do you accept pull requests on this project ? I may be interested to do one on this subject.
Anyway Secretary is pretty cool ! Thank you for your effort on this !
The text was updated successfully, but these errors were encountered: