Commit graph

539 commits

Author SHA1 Message Date
Xavier Mendez
eec02ac178 refactor: changes in markdown
- stick to `md` for `hoedown_markdown` variable names
2013-10-08 20:53:57 +02:00
Xavier Mendez
95ec2c854d refactor: changes in markdown
- the `cb` member in `hoedown_markdown` is now called `rndr`.
 - the `rndr_*` local utilities are now unprefixed.
2013-10-08 20:40:35 +02:00
Xavier Mendez
a5f93518b2 refactor: minor changes in markdown's public API
- the `callbacks` argument is now named `renderer`
2013-10-08 20:34:09 +02:00
Xavier Mendez
49ce138a40 small changes in comments 2013-10-08 20:21:19 +02:00
Xavier Mendez
950ed960a1 refactor: changes in html
- Let "options" be named "state".
2013-10-08 19:57:42 +02:00
Devin Torres
9880e2d0cc Merge pull request #26 from jmendeth/prototype-api-v2
[prototype] API v2
2013-10-08 10:30:57 -07:00
Xavier Mendez
bb6471277a Solve conflicts from master
Conflicts:
	src/html.h
	src/html.c
2013-10-08 18:05:08 +02:00
Devin Torres
8af2b139b7 Merge pull request #30 from jmendeth/buffer-h
Some details at buffer
2013-10-08 08:54:33 -07:00
Xavier Mendez
0fbc9c996d Let buffer.h have parameter names, like the rest 2013-10-08 16:18:31 +02:00
Xavier Mendez
ae741c6f35 buffer_putc should accept an uint8_t (closes #29) 2013-10-08 16:15:33 +02:00
Devin Torres
b0b3c8136e More hoedown_stack stragglers 2013-10-07 19:59:07 -05:00
Devin Torres
3b795f3f18 Forgot hoedown_stack when making typedefs 2013-10-07 19:55:37 -05:00
Devin Torres
d9aa3bf040 Namespace BUFPUTSL => HOEDOWN_BUFPUTSL
Closes #25.
2013-10-07 19:46:46 -05:00
Devin Torres
add8743c5f Revert "GitHub style TOC anchor refs"
This reverts commit 8bb78911ab.

Conflicts:
	src/html.c
2013-10-07 19:30:37 -05:00
Xavier Mendez
e28987a3d7 Let's keep hoedown.def updated 2013-10-06 20:45:49 +02:00
Xavier Mendez
aef3d53eab Let the examples use the new API! 🎉 2013-10-06 20:44:57 +02:00
Xavier Mendez
5c4c5c0590 API-v2: Finish HTML API 2013-10-06 20:41:33 +02:00
Xavier Mendez
e7bbe7b0cb API-v2: Simplify HTML API
- html_renderopts is now private
 - hoedown_html_renderer() allocates options and renderer
 - so does hoedown_html_toc_renderer()
2013-10-06 20:37:14 +02:00
Xavier Mendez
1fd6ccbb72 API-v2: Let hoedown_renderer have a void* opaque...
...instead of passing it as a separate parameter.
2013-10-06 20:26:46 +02:00
Xavier Mendez
6d3acbd672 API-v2: Rename hoedown_callbacks to hoedown_renderer 2013-10-06 16:31:42 +02:00
Devin Torres
7ebc80adc1 Merge pull request #23 from penibelst/patch-1
Fix new repo URLs
2013-10-03 07:56:11 -07:00
Anatol Broder
ec5f1698e9 Fix new repo URLs 2013-10-03 13:42:29 +02:00
Devin Torres
f8c7a584f0 All exposed structs are now opaque typedefs 2013-10-02 14:12:16 -05:00
Devin Torres
433fbf073e Future-proof other options being used with the TOC renderer 2013-10-02 14:12:16 -05:00
Devin Torres
8bb78911ab GitHub style TOC anchor refs 2013-10-02 14:12:16 -05:00
Devin Torres
d2989aed0c Release 1.0.2 2013-10-02 14:12:16 -05:00
Devin Torres
78f042d990 Fix hoedown_buffer_printf on MSVC
Apparently "vsnprintf is included for compliance to the ANSI standard"
doesn't actually mean it's ANSI compliant.

Closes #21.
2013-09-30 20:29:27 -05:00
Devin Torres
3d9ca45d67 Add TOC nesting level option to hoedown_html_renderer
Closes #19.
2013-09-30 19:30:52 -05:00
Devin Torres
22fc877018 Add migration guide link to the README 2013-09-27 18:07:44 -05:00
Devin Torres
5c862b0615 Improve MSVC support
Closes #18.
2013-09-27 17:53:14 -05:00
Devin Torres
8df5fc3bc7 Fix Travis CI badge 2013-09-25 20:17:30 -05:00
Devin Torres
09457e2760 Release 1.0.1 2013-09-25 20:06:52 -05:00
Devin Torres
55ee9cb426 Allow building static library 2013-09-25 20:06:13 -05:00
Devin Torres
92948cc1b9 Fix bug rendering footnotes 2013-09-25 20:04:10 -05:00
Devin Torres
3d0599d959 $(RM) doesn't require -f 2013-09-25 19:49:13 -05:00
Devin Torres
390dbc1dac Release 1.0.0 2013-09-25 09:12:33 -05:00
Devin Torres
2c95da1d7a More cleanup and API coalescing 2013-09-23 19:35:54 -05:00
Devin Torres
7c69ce64e3 Fix possible calloc of 0 2013-09-23 18:27:39 -05:00
Devin Torres
6b6b34348f Merge pull request #13 from jmendeth/examples-cleanup
Regularize the example executables
2013-09-22 02:35:00 -07:00
Devin Torres
61c4450157 Nevermind, nmake works just fine with LF line endings 2013-09-22 04:31:46 -05:00
Devin Torres
eae29db5db Resolve conflict 2013-09-22 04:18:30 -05:00
Devin Torres
0fc7acf1f4 Add .gitattributes 2013-09-22 04:15:25 -05:00
Devin Torres
8a28f5b58e Fix building with MingW and MSVC 2013-09-22 04:10:51 -05:00
Xavier Mendez
0b6572bc56 Normalize examples; return as expected 2013-09-21 15:29:41 +02:00
Xavier Mendez
5ec7d0b42b Simplify & fix the reading loop in the examples (closes #12) 2013-09-21 15:20:56 +02:00
Devin Torres
29b50427bb Spelling mistake in Makefile.win 2013-09-21 05:29:25 -05:00
Devin Torres
0d653f57cf Merge pull request #11 from jmendeth/api-consistency
API consistency
2013-09-21 03:19:52 -07:00
Devin Torres
3bcb292b1a Update MingW instructions 2013-09-21 05:19:01 -05:00
Devin Torres
81ed58c199 Warning for Mingw no longer applies 2013-09-21 05:10:46 -05:00
Devin Torres
0a8df3b5b1 Use -fpic instead of -fPIC 2013-09-21 05:10:16 -05:00