Age | Commit message (Collapse) | Author | Files |
|
* wikimarkup.py: Rewrite tag recognition.
Implement dump method.
* wikicvt.py: New options -D (--dump), and -t dump
* wiki2html.py (input_tag): Remove method
(str_tag): Change handling of tags
* wiki2texi.py: Likewise.
* wiki2text.py: Likewise.
|
|
* wiki2html.py (str_pre): Don't add <pre> tags if nested
* wiki2texi.py: New file.
* wikicvt.py: Add --type (--to, -t) and --input-type (-I) options.
* wikimarkup.py (BaseWikiMarkup): Use new object style.
(tokread): Remove 'extra' keyword for the sake of parse_env
|
|
|
|
rudimentary parsing for wiktionary templates
|
|
|
|
* wiki2html.py (mktgt): Add 3rd argument. All callers updated.
* wiki2text.py (wiki_ns_name,mktgt): New functions
(str_link,str_tmpl): Rewrite
* wikicvt.py: New argument --input-text (not used yet)
|
|
* wiki2text.py: The constructor keyword argument markup allows to
inhibit any markup
* wikicvt.py: New command line option -o (--option).
Admit - as input file name.
|
|
|
|
* wiki2html.py (HtmlWikiMarkup): Move lang, html_base, image_base,
media_base, langtab, str_nil, str_text, fmtok, __str__ to WikiMarkup
* wikimarkup.py: See above.
* wiki2plain.py: Remove.
* wiki2text.py: New file (instead of the above)
* wikicvt.py: Implement new options.
|
|
|