By analogy with the plugin importers in leo/plugins/importers, Leo will
soon support plugin write code in leo/plugins/writers.
There are writer plugins for .md (markdown), .org, .otl and .rst files.
They are remarkably simple.
These plugins are untested, and not yet hooked into Leo's core. Coming
later today, perhaps...
**Important**: there is no need for separate writer plugins for most kinds
of files. The standard @file write code will suffice because Leo knows
about the comment delimiters, etc. for each language. At present, such
data is hard-coded in tables in leoApp.py, but Leo will soon build those
tables from something like:
leo/plugins/data/language_data.py.
Users will be able to tell Leo about new languages simply by adding a new
dictionary to language_data.py.
Edward
--
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/d/optout.