Commit Graph

80 Commits (0bc0d3b510208e38553f96aa3b0eec2a771d64f4)

Author SHA1 Message Date
Shuhei Kadowaki 0bc0d3b510 more consistent templates names, move stylesheets into ./stylesheets 2020-05-24 14:16:37 +09:00
Shuhei Kadowaki 48adeff932 serious fix 2020-05-24 03:38:32 +09:00
Shuhei Kadowaki a7de8f5f58 minor fix 2020-05-24 03:17:24 +09:00
Shuhei Kadowaki 60fc450c88
Merge pull request #341 from JunoLab/avi/preprefactor
pre #338
2020-05-24 03:14:11 +09:00
Shuhei Kadowaki 1fb40645ed refactors: almost just about code styles, doesn't change any behaviour 2020-05-24 02:36:32 +09:00
Shuhei Kadowaki 9ca328f468 add TODO 2020-05-23 23:50:28 +09:00
Shuhei Kadowaki d84504267b addspaces -> addlines 2020-05-23 23:49:29 +09:00
Shuhei Kadowaki 29ff436a00 consistent and clearer terminology:
- formatted -> body/rendered
- wdate -> weave_date
- wsource (or source) -> weave_source
- wdate -> weave_date
2020-05-23 23:05:36 +09:00
Shuhei Kadowaki f4caba1561 maxlog for deprecation warning 2020-05-23 22:51:17 +09:00
Shuhei Kadowaki 3c76b804dc separate format logic from WeaveDoc:
- this is just a first step, though
2020-05-23 22:16:56 +09:00
Shuhei Kadowaki f71a491847 rm unused stuff 2020-05-23 22:04:01 +09:00
Shuhei Kadowaki 3f4ba672b3 Revert "rm unused dict push!"
This reverts commit ef295e9a24.
2020-05-23 20:07:59 +09:00
Shuhei Kadowaki ef295e9a24 rm unused dict push! 2020-05-23 19:52:00 +09:00
Shuhei Kadowaki b4c2bbea45 deprecate `options`, change to `weave_options`:
- avoid unexpected header stripping (`options` sounds too general)
- deprecated `options` support will be remove within ≥v0.11
2020-05-18 22:10:26 +09:00
Shuhei Kadowaki 101b170ea6 some support for dynamic YAML `weave` configuration 2020-05-17 11:45:39 +09:00
Shuhei Kadowaki 405deb3681 reorder things 2020-05-17 10:30:33 +09:00
Shuhei Kadowaki cec388e94f add Weave version 2020-05-17 01:16:59 +09:00
Shuhei Kadowaki f86f5a7bd0 preserve header when weaving to Hugo markdown 2020-05-16 23:31:27 +09:00
Shuhei Kadowaki c1cf566c53 refactor format.jl 2020-05-16 17:59:17 +09:00
Shuhei Kadowaki 17c2151d86 a bit refactor:
- don't match slide `---` separator as header start/end
- recognize `doctype` in construction
2020-05-16 01:49:30 +09:00
Shuhei Kadowaki 492d1f330b dynamic YAML option specification 2020-05-16 01:47:52 +09:00
Shuhei Kadowaki 7c2eb23bcd small refactors (mostly about code styles) 2020-05-16 00:32:09 +09:00
Shuhei Kadowaki e89d5da250 rm unncessary `Symbol` spec:
- change `informat` and `doctype` options to 
`Union{NothingAbstractString}`
2020-05-10 13:20:44 +09:00
Shuhei Kadowaki 4dae2a0816 `WEAVE_OPTION_NAME` 2020-05-09 22:42:05 +09:00
Shuhei Kadowaki 2376a9dae9 format things 2020-05-08 23:39:17 +09:00
Shuhei Kadowaki db13be44e3 fix no header case 2020-04-18 19:18:03 +09:00
Shuhei Kadowaki 95e32c4908 more graceful header handling 2020-04-18 19:10:07 +09:00
Shuhei Kadowaki 6339303569 rm Compat 2020-03-18 08:53:25 +09:00
Sebastian Pech c9e26d5638 Rename escape_unicode and move to tex based formatdicts 2019-10-15 21:48:05 +02:00
Sebastian Pech bd5ff7031c Add argument for disabling unicode escaping 2019-09-05 10:13:49 +02:00
Matti Pastell 35addd2b50 Fixes to option parsing, gadfly pdf, stripping header, add tests 2019-03-11 10:23:31 +02:00
Matti Pastell 6f83f1abf5 Add example beamer document 2019-03-10 20:10:30 +02:00
Matti Pastell 3488af5534 Add docs for inline output, make figure output inline 2019-03-10 19:23:18 +02:00
Matti Pastell 4ab1c09b8c Allow using MustacheTokens as template directly 2019-03-10 17:51:19 +02:00
Matti Pastell 37aa0237a8 Add new syntax for inline code and fix output in md2* formats 2019-03-06 22:27:47 +02:00
Matti Pastell edd558de0e Add support for comments in Markdown. Closes #97 2019-02-28 16:17:03 +02:00
Matti Pastell 710b67ca45 Add markdown flavor for improved math support. Closes #182 2019-02-27 18:21:05 +02:00
Matti Pastell 6a30aa20f2 Remove align environment from math output #182 2019-02-27 16:42:51 +02:00
Matti Pastell bad5650027 Fix \bf and \frak symbols in md2tex. Improves #181 2019-02-26 17:38:28 +02:00
Matti Pastell 7587b4f9cf
Fix line wrapping (#180)
* Fix line wrapping

* Don't chop from tail

* Test wrapping unicode
2019-02-26 00:09:40 +02:00
Matti Pastell bf57bf8a07
Use align for ```math blocks (#143)
* Use align for ```math blocks
* Fix deprecation from inline parsing
* Update tests
2018-08-23 08:22:08 +03:00
Matti Pastell 341edd3784 Allow custom fields in templates, closes #100 2018-07-27 14:39:53 +03:00
Matti Pastell b136fa615d Fix header parsing, update example 2018-07-26 00:26:38 +03:00
Matti Pastell e5d2045350 Clean formatters 2018-07-25 23:26:39 +03:00
Matti Pastell 7c091ed034 Clean highlighting code 2018-07-25 01:33:24 +03:00
Matti Pastell 4523b3a58e Use Highlights.jl for md2tex output 2018-07-24 23:40:47 +02:00
Matti Pastell 83c506252d Fix formatting deprecations 2018-07-23 19:29:07 +02:00
Matti Pastell 01f8810bc3 Run working tests with 0.7 2018-07-23 18:39:48 +02:00
femtocleaner[bot] f04b67f69b Fix deprecations (#135)
* Fix deprecations

* Fix html output
2018-07-23 13:37:25 +03:00
Matti Pastell b2b143c22e Add markdown2html writer, remove Documenter depency 2018-01-07 20:19:59 +02:00