On 2/27/2014 11:31 AM, Edward K. Ream wrote:
This thread will be for coordination among all those who are modifying
the viewrendered2.py plugin.
I've completed a thorough reorg of the code. This was a useful
exercise for me. Still on my to-do list:
1. Complete the new code_directive method. This method is intended to
handle the quite hairy details of generating code blocks.
code_directive should just output '\n\n::\n\n' if pygments can not be
found, and there are other complications involving @language. See the
unused initCodeBlockString method (from leoRst.py) for details.
2. The reorg of the ctor clarified that the unused args code in the
new to_html method is truly unnecessary. I'll be removing the unused
code. self.docutils_settings is set in the ctor's helper,
init_config, using almost a dozen presently undocumented config
settings ;-). I'll add those settings to the docstring next.
I expect to complete these in the next hour or so. At that point, the
ball will be in Peter Mills's court.
Edward
--
I need to investigate how to integrate this new tree-rendering code with
the markdown support. I intend to get started on that sometime soon...
-->Jake
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.