[scribus-dev] Dev a gettext plugin

ale rimoldi ale.comp_06 at xox.ch
Sat Aug 15 10:31:36 UTC 2020


salut dimitri

i just made a try with:

```py

import markdown

md = markdown.Markdown()

markdown_str = """
# A new Scripter API documentation

Over and over, I've heard complains about the Scripter documentation
(among other things, of course!).

Since the Scribus documentation is not really free, there was not much
I was willing / able to do.

Last week, I got one more critical voice on the API documentation, and
I've decided that it was time to see if it was possible to get to
something sane, by exporting the API from the docstrings.
Have fun  
a.l.e
"""
print(md.convert(markdown_str))

```

the generated html imports fine into scribus.

questions:

- wouldn't it be worth to improve the html importer to support what is
  not yet good? (lists...)
- and then add the command to import html to the scripter.

and, then, when we have the C++ API and a few more "relevant" features
implement a plugin that imports markdown...

if you want to go this way, i'm more than ready to collaborate...
i'm not sure that i want to spend my time on an "hardcore" import
plugin (otherwise i would have made it a long time ago...)

ciao
a.l.e



More information about the scribus-dev mailing list