Quote:
Originally Posted by user_none
In the txtml.py file look at line 170, # Are we in a paragraph block?. At the end of this block just check for the h tags and append the correct number of *s.
|
Thanks, I figured that out and it works.
Quote:
Originally Posted by user_none
Though instead of making this very specific why not create a new txt output generator that produces markdown text?
|
This is an excellent idea. How would I go about that?
Another question: I tried to add more markup, for example italic or bold. I see the settings in the CSS file and even in the intermediate versions I get with debug output, but when I try to work with the styles (for example 'font-style; italic;'), they seem at some point to be changed to 'font-style: normal;' and do not arrive at txtml.py.
Could this be a bug?
I looked around a bit, but could not find where this replacing happens. Just to check I looked at the RTF output, and there seems to be the italic missing as well.
Any help appreciated,
Ctop