Commit Graph
10 Commits
Author SHA1 Message Date
david parsons 2ebcb044d2 Take out the T(x) hack from mkd_css() & mkd_xml() and instead
strdup() to return free()able memory.
2017-01-22 00:02:28 -08:00
david parsons 6e4190fa65 Handle error conditions and pass errorcodes out of various mkd_xxx output function
(inspired by a patch written by Koen Punt <koen@koenpunt.nl>)
2015-10-26 14:43:54 -07:00
david parsons e8d67af6c7 More work on making mkd_css() and mkd_toc() resemble each other. 2011-01-04 21:27:52 -08:00
david parsons 7fb50d3563 Tweak the way I null-pad and return values from mkd_css() and mkd_toc() 2011-01-04 11:59:54 -08:00
david parsons 249d38fca5 Null-terminate the strings generated by mkd_css() and mkd_toc().
This reduces any surprises that happen when someone uses these functions
but doesn't check the return value.
2011-01-01 21:38:32 -08:00
david parsons bd86f90336 Flip the order of arguments to mkd_generatecss(); should be 1,size, not size,1 2011-01-01 21:28:37 -08:00
david parsons e00d41e79d Don't need to check that *res is non-null, because I'll be overwriting it later. 2010-12-29 09:32:01 -08:00
david parsons 7318bbb856 When generating css, emit a \n after each line in the <style> block. 2010-10-22 12:32:43 -07:00
David Parsons 93560cbefb In theme.c and xmlpage.c, use mkd_generatecss() instead
of the unfortunately named `mkd_style()` to print out the
stylesheets.
2009-05-12 07:00:23 -07:00
David Parsons 7ba17fc9c0 Use Csio functions to generate the stylesheet sections,
and move the css output functions off into their own file.
2009-05-12 01:55:10 -07:00