Commit graph

23 commits

Author SHA1 Message Date
http://jneen.net/
c50cded96e remove the rouge copypasta and add notes to refactor 2017-06-07 17:49:03 -07:00
Douwe Maan
6685cbeb99 Document tag option and clarify spec 2017-03-14 15:29:00 -06:00
Douwe Maan
6890327762 Copy code as GFM from diffs, blobs and GFM code blocks 2017-03-14 15:29:00 -06:00
Horacio Sanson
d9e9ad2211 PlantUML support for Markdown
Allow rendering of PlantUML diagrams in Markdown documents using fenced blocks:

    ```plantuml
    Bob -> Sara : Hello
    Sara -> Bob : Go away
    ```

Closes: #4048
2017-02-03 08:49:48 +09:00
Munken
2d170a20dc Render math in Asciidoc and Markdown with KaTeX using code blocks 2016-12-14 16:50:54 +00:00
Munken
a36ee0ad44 Better location for math lexer 2016-12-08 23:13:44 +00:00
Stan Hu
3fe18525dd Trim extra displayed carriage returns in diffs and files with CRLFs
Closes #20440
2016-08-01 13:24:06 +02:00
http://jneen.net/
c4ea394736 use %(...) and %[...] in favor of %<...> 2016-07-14 22:43:49 -07:00
http://jneen.net/
d625f65291 eliminate the final newline in <pre> blocks 2016-07-14 10:08:15 -07:00
http://jneen.net/
4365144f5c no longer need cgi 2016-07-14 10:08:15 -07:00
http://jneen.net/
e1824aa101 use the new token_lines interface to format lines 2016-07-14 10:08:15 -07:00
http://jneen.net/
3bb65815b0 kill the :cssclass option 2016-07-14 10:08:15 -07:00
http://jneen.net/
55dc7d09b3 trim more dead code 2016-07-14 10:08:15 -07:00
http://jneen.net/
504a048b08 remove the dead linenos and linenostart options
and the methods that relied on them
2016-07-14 10:08:15 -07:00
http://jneen.net/
2ae837f9c9 kill the nowrap option in HTMLGitlab itself 2016-07-14 10:08:14 -07:00
http://jneen.net/
95d6174a08 remove the unused inline_theme feature 2016-07-14 10:08:14 -07:00
http://jneen.net/
96c68c5033 deprecate @anchorlinenos 2016-07-14 10:08:14 -07:00
Grzegorz Bizon
c6f9a1c273 Enable Style/IdenticalConditionalBranches Rubocop cop 2016-07-08 11:04:04 +02:00
Gabriel Mazetto
b5291f9599 Fixed Rubocop offenses 2015-12-15 00:53:52 -02:00
Stan Hu
15d5dfdb33 Fix diff syntax highlighting
Refactored HTML parser to avoid duplication of newline parsing.

Closes #2235
2015-08-10 08:07:26 -07:00
Robert Speicher
fa5efea7f3 Fix the inline_theme option for the Rouge formatter 2015-08-01 19:10:14 -04:00
Stan Hu
0abe98f049 Fix multi-line syntax highlighting
HTML span elements only apply to a single line, and in the case of multi-line
comments, the highlighting was dropped as a result. Ensure that each line has
the proper styling to fix this.

Closes #1577
2015-07-30 22:37:53 -07:00
Stefan Tatschner
00ff84d3c0 Add HTMLGitlab formatter
This custom formatter for rouge is needed to generate HTML output
specifically for gitlab. Since its usecase is mostly suitable for
gitlab it had been rejected upstream:
https://github.com/jneen/rouge/pull/268

Thanks a lot to @stanhu, @jneen and @tsigo for review!
2015-07-29 08:32:00 +02:00