Need help to extend block parsing (alignement) #315
Unanswered
matwachich
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm currently using Fyne for a big project, that will use markdown as entry text format for documents (-> HTML -> printer).
I want to extend makrdown parsing to be able to align text in paragraphs and headings (and all Block elements).
Here is the format I want to use:
<| text of the paragraph
=> left align (standard)|> text of the paragraph
=> right align<> text of the paragraph
or### <> Heading text
=> centered== text of the paragraph
=> justifiedHere is what I do, but after this I'm totally stuck (since I have no idea about Ast nodes...)
I also know that type BlockParser should implement the BlockParser interface, but no idea what to do in the functions.
Thanks for your help :)
Beta Was this translation helpful? Give feedback.
All reactions