david parsons
|
b9e867b574
|
redo the whole flags dealie as an opaque blob
|
2019-12-07 22:49:52 -08:00 |
|
david parsons
|
d74c180a8c
|
Merge github.com:Orc/discount into v3
|
2019-07-30 13:56:32 -07:00 |
|
David Parsons
|
1814a5d4b7
|
Merge pull request #212 from podsvirov/cmake-cxx-binding
Add cmake option DISCOUNT_CXX_BINDING
|
2019-07-30 13:55:01 -07:00 |
|
Konstantin Podsvirov
|
693f318eeb
|
Add cmake option DISCOUNT_CXX_BINDING
This cmake option add behavior similar to:
./configure.sh --cxx-binding
|
2019-07-30 20:57:40 +03:00 |
|
david parsons
|
aeadbe2549
|
Pull in patches for msvc & plan9 builds
|
2019-06-15 16:30:27 -07:00 |
|
David Parsons
|
83faef680a
|
Merge pull request #210 from preshing/master
Fix CMake & MSVC builds
|
2019-06-15 16:25:46 -07:00 |
|
David Parsons
|
56ba103371
|
Merge pull request #200 from mischief/plan9mkfile
Plan9/mkfile: fix dependencies and virtual targets, add uninstall
|
2019-06-15 16:23:50 -07:00 |
|
Jeff Preshing
|
acd7ce51e9
|
Fix CMake & MSVC builds
|
2019-06-12 20:10:18 -04:00 |
|
david parsons
|
4b67316d6e
|
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)
v2.2.6
|
2019-04-15 08:28:20 -07:00 |
|
david parsons
|
5a4f0170ca
|
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)
|
2019-04-15 08:24:53 -07:00 |
|
david parsons
|
1bec1a0ef2
|
since github checkboxes are configured to be input objects by default, don't have a bare --github-checkbox non-intuitively set them to html entities
|
2019-04-15 07:15:35 -07:00 |
|
david parsons
|
b52ec440d4
|
strip out MKD_STRICT as a single flag (convert it into a composite flag that turns off a whole bunch of extensions); use that flagbit to disable github checkbox items, strip out MKD_DLIST as a single flag (convert it into a mask of MKD_DLDISCOUNT|MKD_DLEXTRA, and rework pgm_options so that 'strict' and 'relaxed' apply only to emphasis and 'standard' is the flag that sets & clears flags to make it closer to the standard. Version 3 because I'm fucking with the published interface
|
2019-04-14 20:56:55 -07:00 |
|
david parsons
|
2be654fdeb
|
mkd2html wasn't passing pgm to hoptusage()
|
2019-04-12 11:47:08 -07:00 |
|
david parsons
|
5bf1c6cfae
|
add an external code block formatter to the markdown program
|
2019-04-12 08:25:02 -07:00 |
|
david parsons
|
866e9aaccb
|
support external code formatters
|
2019-04-10 11:59:04 -07:00 |
|
david parsons
|
0d33c8fe0d
|
tweak how scalar headers are include in .in files
|
2019-02-27 12:10:35 -08:00 |
|
david parsons
|
ee2b955fd6
|
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
|
2019-02-27 11:56:21 -08:00 |
|
david parsons
|
647e65069e
|
when dumping the parse tree, say which header is being dumped -- h1..h6 vs just header
|
2019-02-23 00:35:16 -08:00 |
|
david parsons
|
3d63e86076
|
add some dle sanity checking into onlyifset()
|
2019-02-22 13:27:02 -08:00 |
|
david parsons
|
1f90fde27f
|
add an anchor format callback, plus add the -x option to the markdown program to squash toc anchors to (close to) github compatability
|
2019-02-18 20:54:05 -08:00 |
|
david parsons
|
805cc0eae1
|
don't publish mkd_string_to_anchor
|
2019-02-15 16:31:57 -08:00 |
|
david parsons
|
e46dc76b25
|
prep 2.2.6
|
2019-02-12 07:47:28 -08:00 |
|
david parsons
|
18b65b162c
|
add two more tests (unfinished fenced code block, paragraph then fenced code block) to codeblock.t
|
2019-02-10 10:05:34 -08:00 |
|
david parsons
|
50c628197f
|
yank the repeated inline uncaches out and stuff them into a local function
|
2019-02-10 09:51:56 -08:00 |
|
david parsons
|
5577a536b4
|
deal with cached text before handling fenced code blocks
|
2019-02-10 09:47:10 -08:00 |
|
david parsons
|
8cc83f10c2
|
add a test case for a piece of fenced code with trailing spaces after the opening ~~~
|
2019-01-31 05:47:19 -08:00 |
|
david parsons
|
502ec35ae2
|
don't give a code block class if it's just an empty string
|
2019-01-30 21:50:15 -08:00 |
|
david parsons
|
e02f8005ee
|
add a fenced code block with embedded html
|
2019-01-29 21:39:17 -08:00 |
|
david parsons
|
4fba9d82a9
|
push the fencedcode block handler up to the toplevel scanner so it will handle blank lines inside the fence
v2.2.5
|
2019-01-29 17:46:10 -08:00 |
|
mischief
|
0f2e9d44f9
|
Plan9/mkfile: fix dependencies and virtual targets, add uninstall
|
2018-10-23 04:54:20 -07:00 |
|
david parsons
|
073c7af868
|
patch the cmakefile so that has an option to only generate a library
|
2018-10-07 10:07:41 -07:00 |
|
david parsons
|
f46d425c2f
|
add a list item for testing the build
|
2018-10-06 15:13:02 -07:00 |
|
david parsons
|
1222dece76
|
tweak the Makefile macros a bit so people can wedge in their own compilers (BUILD) and linkers (LINK) during a build
|
2018-09-19 12:09:38 -07:00 |
|
david parsons
|
311b33218f
|
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
|
2018-09-19 08:14:37 -07:00 |
|
david parsons
|
839ba61428
|
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
|
2018-09-18 12:36:06 -07:00 |
|
david parsons
|
0308244ec8
|
shuffle around some of the definitions to make everything happily(?) compile with all instances of flags being mkd_flag_t
|
2018-09-18 08:32:03 -07:00 |
|
david parsons
|
7fdc188f07
|
clean up all references to flags; define them EVERYWHERE as mkd_flag_t
|
2018-09-18 08:25:27 -07:00 |
|
david parsons
|
cf74d6d218
|
make all instances of 'main()' be integer functions (sigh)
|
2018-09-16 14:41:42 -07:00 |
|
david parsons
|
a6bcdd1ce5
|
include config.h before any other headers
|
2018-09-14 20:20:00 -07:00 |
|
david parsons
|
f555d4c1c4
|
fix all places where I pass flags to be DWORDs
|
2018-09-14 20:18:17 -07:00 |
|
david parsons
|
798fdfb14c
|
if a makefile is detected during configuration, do a rm -f markdown echo cols branch pandoc_headers mkd2html makepage theme *.o
rm -f libmarkdown `./librarian.sh files libmarkdown VERSION`
rm -f Makefile version.c mkdio.h config.cmd config.sub config.h config.mak config.md librarian.sh config.log ./mktags ./blocktags with it before doing the new configuration
|
2018-09-14 13:33:51 -07:00 |
|
david parsons
|
36615e6b15
|
have peek() return an int instead of an unsigned int (netbsd 8; ctype functions explode with unsigned int arguments?)
|
2018-09-14 12:18:45 -07:00 |
|
david parsons
|
11c757d70b
|
move flags.o down to the last line in OBJS= to work around a plan9 makefile bug
|
2018-09-12 08:57:02 -07:00 |
|
david parsons
|
78db45cc5f
|
gonna be 2.2.5 pretty soon
|
2018-09-12 08:21:12 -07:00 |
|
david parsons
|
20d03a3de7
|
messed up the definition for missing attributes; should be /**/ instead of '', because AC_DEFINE will convert an empty string into a 1
|
2018-09-12 08:14:58 -07:00 |
|
david parsons
|
c4c753da12
|
add in a handful of test to verify that empty pandoc headers are not auto-populated with %
|
2018-09-07 15:41:40 -07:00 |
|
david parsons
|
06ac2cc08f
|
if __mkd_trim_line trims the entire line, manually set the string to \0
|
2018-09-07 15:10:29 -07:00 |
|
david parsons
|
0e587c4afb
|
make a test program to examine pandoc header elements
|
2018-09-06 21:46:36 -07:00 |
|
david parsons
|
1baeb2dbd3
|
Version 2.2.4; also when doing github checkbox as input form disable each checkbox
v2.2.4
|
2018-08-05 13:39:32 -07:00 |
|
david parsons
|
0d01a2c9c0
|
to b3
|
2018-06-16 11:51:57 -07:00 |
|