Please sign in to comment.
Update to 2.2.6. From the changelog:
- make a test program to examine pandoc header elements - if __mkd_trim_line trims the entire line, manually set the string to \0 - add in a handful of test to verify that empty pandoc headers are not auto-populated with % - messed up the definition for missing attributes; should be /**/ instead of '', because AC_DEFINE will convert an empty string into a 1 - move flags.o down to the last line in OBJS= to work around a plan9 makefile bug - have peek() return an int instead of an unsigned int (netbsd 8; ctype functions explode with unsigned int arguments?) - fix all places where I pass flags to be DWORDs - include config.h before any other headers - make all instances of 'main()' be integer functions (sigh) - clean up all references to flags; define them EVERYWHERE as mkd_flag_t - shuffle around some of the definitions to make everything happily(?) compile with all instances of flags being mkd_flag_t - when checking that the C compiler works, compile the test program as two modules with a function declared with differing pointer types (char ptr vs void ptr) so if the C compiler generates type signatures and doesn't think a void pointer is the universal solvent it will fail right there - set the Plan9 CFLAGS to the two extensions (instead of having them be part of the CC macro) and wipe out any CFLAGS (like -T, which tells the Plan9 posix C compiler to be stupid) that already exists - tweak the Makefile macros a bit so people can wedge in their own compilers (BUILD) and linkers (LINK) during a build - add a list item for testing the build - patch the cmakefile so that has an option to only generate a library - push the fencedcode block handler up to the toplevel scanner so it will handle blank lines inside the fence - add a fenced code block with embedded html - don't give a code block class if it's just an empty string - add a test case for a piece of fenced code with trailing spaces after the opening ~~~ - deal with cached text before handling fenced code blocks - yank the repeated inline uncaches out and stuff them into a local function - add two more tests (unfinished fenced code block, paragraph then fenced code block) to codeblock.t - don't publish mkd_string_to_anchor - add an anchor format callback, plus add the -x option to the markdown program to squash toc anchors to (close to) github compatability - add some dle sanity checking into onlyifset() - when dumping the parse tree, say which header is being dumped -- h1..h6 vs just header - tweak configure to (a) use the modern standard uintXX_t types for DWORD, WORD, BYTE if possible and (b) if a program is defined via an environment variable (like CC) try to use that variable instead of doing a path search in AC_PROG - tweak how scalar headers are include in .in files - support external code formatters - add an external code block formatter to the markdown program - mkd2html wasn't passing pgm to hoptusage() - mkd2html wasn't properly handling two arguments for input & output files. While I was at it, add the -G option to use gfm_in() to read the input file in (and preserve newlines)
- Loading branch information...
Showing with 77 additions and 67 deletions.
|@@ -1,8 +1,8 @@|
|$NetBSD: distinfo,v 1.9 2018/08/27 20:46:18 schmonz Exp $|
|$NetBSD: distinfo,v 1.10 2019/06/10 13:32:56 schmonz Exp $|
|SHA1 (discount-2.2.4.tar.bz2) = 038e754afe234d92e5f327353fab5772c3f97f63|
|RMD160 (discount-2.2.4.tar.bz2) = 5270054635d152d81acb81a8d87f29a98750a1a0|
|SHA512 (discount-2.2.4.tar.bz2) = 0650e0ce3f6948e3a30fdaa1a810e895f64621c55df46c7a5ed8755e65c1b718b7a1d1a1bfe0a87a3a59fbb13fca8907718f1aa095125a4b6e152602b8e490cf|
|Size (discount-2.2.4.tar.bz2) = 99482 bytes|
|SHA1 (patch-Makefile.in) = 66270dca27485373279bd9ce8c445cc5a931e29a|
|SHA1 (patch-generate.c) = 40ba6619c592531724ed78df5ffc99998e55498e|
|SHA1 (discount/v2.2.6.tar.gz) = 36aeb512a4429e3a672f5e6803dcd59d5ac1a817|
|RMD160 (discount/v2.2.6.tar.gz) = ebd9a877842998afda0d0f1a2821280b16c9d16e|
|SHA512 (discount/v2.2.6.tar.gz) = 4c5956dea78aacd3a105ddac13f1671d811a5b2b04990cdf8485c36190c8872c4b1b9432a7236f669c34b07564ecd0096632dced54d67de9eaf4f23641417ecc|
|Size (discount/v2.2.6.tar.gz) = 128790 bytes|
|SHA1 (patch-Makefile.in) = cee33665390bc83d83bf6925886ae945254b66a8|
|SHA1 (patch-generate.c) = ca870b8ecf485bd14e9b3302c90fc4a97d73c2f7|