summaryrefslogtreecommitdiff
path: root/lib/banzai.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move pre_process into render_resultremove-banzai-pre-processYorick Peterse2016-06-211-4/+0
| | | | | | | | | | | The method Banzai::Renderer.pre_process would always be called, regardless of whether the Markdown to render was already cached or not. In cache the document _was_ cached the output of the pre-processing pipeline was ignored resulting in it doing nothing but wasting CPU cycles. This commit moves Banzai::Renderer.pre_process into Banzai::Renderer.render_result so that it's _only_ used when needed.
* Add a PreProcessPipelineRobert Speicher2016-03-021-0/+4
|
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-151-0/+13