[scribus] creating a markdown loader for scribus
ale.comp_06 at xox.ch
Fri Oct 18 14:24:26 UTC 2013
> On 10/18/2013 08:00 AM, a.l.e wrote:
>> dear scribusers,
>> tomorrow, saturday october 18th, i plan to work on a markdown loader for
>> i have the boilerplate on my laptop and a readme on github explaining
>> what i want to achieve:
>> as soon as i get back home this evening, i'm pusing the trivial code i
>> already have (it reads the content as raw text).
>> for tomorrow, the plan is to implement a parser based on some resources
>> i've found on the net:
>> but i've never created a real parser and i would welcome if anybody
>> would show up and help me with this effort!
>> and i'm glad for any hint i can get!
> Although I haven't been able to find all the bits, there is some minimal
> markdown in Scribus that get used to make the information tabs in About
> Scribus ... using plain text files as input.
thanks for the hint!
and i noticed a long comment by myself explaining how the about file
i've had a fast look at the code and it looks like it's a mixture of
parsing line by line and a set of replaces.
not 100% what i need but i'll have a deeper look.
i've also alread had a look at the formatted text loader (line by line,
also with some regexp) and the html importer (which uses a real --
existing -- xml parser...).
we will see how far i get!
More information about the scribus