summaryrefslogtreecommitdiffstats
path: root/lib/template.js
Commit message (Collapse)AuthorAgeFilesLines
* Start rewriteSamy Pessé2016-01-221-466/+0
|
* Fix #982: fix shortcuts for included templatesSamy Pessé2015-10-201-3/+27
|
* Add failing test for #982Samy Pessé2015-10-201-31/+33
|
* Fix passing context to block functionsSamy Pessé2015-09-151-31/+30
| | | | Add test for it
* Fix stupid error that passed tests because "context" was globalSamy Pessé2015-09-151-2/+2
|
* Improve conrefs to handle all absolute file paths correctlySamy Pessé2015-09-151-48/+1
| | | | Add test for it
* Handle absolute file correctly for conrefsSamy Pessé2015-09-151-1/+7
| | | | Add test for absolute file for conrefs
* Improve book.resolve to ensure file is in the bookSamy Pessé2015-09-151-1/+7
| | | | Adapt tests to plugin-highlight
* Merge branch 'improve/template-blocks'Samy Pessé2015-09-151-1/+1
|\
| * Use Book.resolve when possibleAaron O'Mullan2015-07-311-1/+1
| | | | | | | | For added consistency
* | Add base test for extending code highlightingSamy Pesse2015-09-141-2/+0
| |
* | Use block code for highlight pre/codeSamy Pesse2015-09-141-11/+67
| | | | | | | | Cleanup correctly predefined blocks
* | Add default blocks (html and code)Samy Pesse2015-09-121-9/+28
| |
* | Use position indicator that doesn't conflict with asciidocSamy Pesse2015-09-081-5/+5
|/
* Fix #802: make book.json accessible as "config." in templatingSamy Pesse2015-06-191-0/+3
|
* Fix #804: correctly extract kwargs from blocksSamy Pesse2015-06-181-1/+1
|
* use the `escape-string-regexp` moduleSindre Sorhus2015-04-081-2/+2
| | | | | | no point in hardcoding this. https://github.com/sindresorhus/escape-string-regexp
* Normalize template errorsSamy Pessé2015-04-021-1/+7
|
* Add editorconfig and normalize indentSamy Pessé2015-03-141-40/+40
|
* Fix #629: add generator name in template contextSamy Pessé2015-03-061-1/+2
|
* Merge pull request #605 from GitbookIO/update/lodashSamy Pessé2015-02-131-11/+15
|\ | | | | Update lodash to 3.x.x
| * Fix test for lodash 3.1.0 (from git)Samy Pessé2015-02-111-11/+15
| |
* | Fix test with post in blocksSamy Pessé2015-02-131-3/+3
| |
* | Limit concurrent blocks processedSamy Pessé2015-02-131-10/+14
| |
* | Accept post function from block to post process contentSamy Pessé2015-02-121-8/+23
|/
* Add "generator" to plugins blocks and filters ctxSamy Pessé2015-01-301-1/+2
|
* Convert inline svg as png if neededSamy Pessé2015-01-291-1/+6
|
* Remove used blocks from templatesSamy Pessé2015-01-291-6/+16
|
* Add option to block to not parse outputSamy Pessé2015-01-291-5/+72
|
* Check parser used before applying template shortcutsSamy Pessé2015-01-271-5/+11
|
* Add options "shortcuts" for blocks from pluginsSamy Pessé2015-01-271-1/+34
|
* Improve tests on blocks extensionsSamy Pessé2015-01-271-0/+1
|
* Complete parsing of blocks from plugin extensionsSamy Pessé2015-01-271-11/+31
|
* Parse correctly list of blocks and argsSamy Pessé2015-01-271-12/+32
|
* Add blocks from plugins to template engineSamy Pessé2015-01-271-4/+78
|
* Improve tests for plugins with filtersSamy Pessé2015-01-271-5/+7
|
* Move plugin helper methods to a specific classSamy Pessé2015-01-271-6/+11
|
* Extend templates filtersSamy Pessé2015-01-271-0/+8
| | | | Fully remove mathjax from plugins
* Add back "page:before" hookSamy Pessé2015-01-271-21/+48
|
* Improve logger moduleSamy Pessé2015-01-251-1/+1
|
* Change comment start and end in templatesSamy Pessé2015-01-251-1/+11
| | | | (to avoid conflicts with maths)
* Add base loader to resolve git dependenciesSamy Pessé2015-01-241-1/+36
|
* Fix version in generator tagSamy Pessé2015-01-231-2/+7
|
* Adapt themes website templatesSamy Pessé2015-01-211-1/+3
|
* Use template before parsing glossary, summary and langsSamy Pessé2015-01-191-2/+23
|
* Add configuration to send structures filesSamy Pessé2015-01-191-0/+18