kts
|
ddd1e8bd63
|
Forgot to commit stuff ages past.
|
2015-03-21 04:41:29 -07:00 |
kts
|
a3b57bb001
|
Inline/Text elements may now possess a default element formatter that is triggered by some text within parenthesis immediately after the text but before any other formatters. For anchors, "[[link]](url)" will effectively do the same as "[[link]].href(url)". Some of the code needs to be reworked significantly.
|
2014-12-23 07:55:24 -08:00 |
kts
|
17d095e78d
|
Added .include functionality to block elements (paragraph, pre, code). In the case of the former, the given file is fully parsed and all parsed elements are inserted in the place of the calling block element. In the case of the latter block elements, the file is included but not parsed. Options/formatters are now hashes rather than var=value strings.
|
2014-12-22 18:22:52 -08:00 |
kts
|
72761033d0
|
Added some shady media tag processing. Anchor style, [[my_anchor]] can have [[image:my_image.png]], [[audio:...]], [[video:...]], [[youtube:...]], and [[vimeo:...]]. For the HTML converter, this creates img, audio, video, and iframes respectively. I should add an .href modify that encases the given tags in an anchor. Additionally, elements should likely have a default modifier where you are not required to explicitly mark the formatter. Example: [[my_anchor]].href(url) could just be [[my_anchor]](url).
|
2014-12-16 16:00:21 -08:00 |
kts
|
80245d57f1
|
Now uses FindBin to access kettext.pm if the module is not installed in the regular lib INC dirs.
|
2014-12-02 09:00:04 -08:00 |
kts
|
9b35a0ffed
|
Merge branch 'refactor'
|
2014-12-02 04:57:57 -08:00 |
kts
|
9cb4f36ee4
|
kettext.pl now has proper usage screen. Also allows for convertor specification via --convert/--convertTo=HTML. Other stuff too!
|
2014-12-02 04:48:45 -08:00 |
kts
|
1f19efe295
|
kettext now exists as a front-end script and a module. The module separates parsing from conversion as well.
|
2014-12-01 22:25:41 -08:00 |
kts
|
9f541689a0
|
Lists are now prepended with <p></p> to add spacing.
|
2014-11-30 23:04:57 -08:00 |
kts
|
275ec64dd1
|
Small header check now must be at beginning of string without any spaces. Match text now surrounded by \Q and \E so the match is not read as regex. Lightly modified documentation
|
2014-11-28 16:04:40 -08:00 |
kts
|
9bc47652d7
|
Paragraphs now generate conversion breaks. This is nice.
|
2014-11-28 07:15:27 -08:00 |
kts
|
4b57eaef6f
|
Merge branch 'header_numbering'
|
2014-11-28 05:22:35 -08:00 |
kts
|
4a6d614d3c
|
Headers may now have automatic numbering if header.numbering is set.
|
2014-11-28 05:21:24 -08:00 |
kts
|
3b0f23dfb8
|
added *.swp to .gitignore.
|
2014-11-27 19:26:57 -08:00 |
kts
|
7a7d79b57d
|
Initial commit of kettext. Contains mostly complete implementation of kettext.
|
2014-11-27 16:05:50 -08:00 |