Commit Graph

5 Commits (master)

Author SHA1 Message Date
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 7a7d79b57d Initial commit of kettext. Contains mostly complete implementation of kettext. 2014-11-27 16:05:50 -08:00