Matthew Peveler
aace071f89
fix bc style breaks from rouge 3.x ( #1226 )
...
* fix bc style breaks from rouge 3.x
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com >
* use bright_pink for Name::Label
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com >
2020-05-19 16:53:09 -04:00
Robert Lord
b2119b0313
Fix ToC issues, fix #995
2018-07-05 16:28:05 -07:00
Robert Lord
48807d74c9
Fix #837 Chinese, Russian headers, thx finalnova
2017-11-23 10:40:00 -08:00
Robert Lord
7ef0fd4327
Parameterize ToC titles, remove html tags from slug (thx seweil), fixes #904
2017-11-23 10:23:52 -08:00
Vladimir Morozov
4f915e9cb2
Add optional NestingUniqueHeadCounter header ID generator
...
* Move nesting generator to separate class
* Major bug fix, code simplification
* Get rid of global value, use class variable instead.
2017-11-09 09:14:43 -06:00
Robert Lord
8b830994b9
Fix bug where head count always got larger across reloads
2017-06-15 13:05:03 -07:00
Robert Lord
685179d623
Solve improperly nested header problem, fixes #711
2017-06-15 12:52:42 -07:00
Alyss Noland
39aaa0fca5
Adds unique header creation ( #743 )
2017-04-06 17:33:46 -05:00
Robert Lord
0c30e8ed7a
Fix bug with no-language code blocks erroring, fixes #716
2017-03-06 15:24:22 -06:00
Matt Billock
599212e0ae
Fixing an issue when no language is specified ( #707 )
...
parts[0] can lead to a nil class exception. Using the ternary gives the same functionality without causing things to fail
2017-02-28 12:35:58 -06:00
Robert Lord
f7d1bd1da5
Update ToC to preserve italics, see #551
2017-02-24 12:06:55 -06:00
Robert Lord
53e2f23e5c
Static table of contents ( #701 )
...
* Add showing/hiding submenus, fix sidebar styling, fix bug where includes wouldn't appear in ToC
* Update ToC to highlight last header if page is scrolled to very bottom, fixes #280
* Set HTML title to current h1 section text, see #133
* Fix menu not opening on mobile
* Add back increase toc item height on mobile
* Fix padding bug
* Add back in ToC sliding animation
2017-02-24 11:57:39 -06:00
Robert Lord
1fd867c2ff
Add multiple-tabs-per-language test
2017-02-23 21:50:02 -06:00
Robert Lord
7c110ede15
Remove redcarpet header fix, just use vanilla redcarpet IDs
2015-01-23 20:54:24 -06:00
Robert Lord
8e7b03b64e
Upgrade redcarpet, fix header patch, fixes #92
2014-07-27 23:21:24 -07:00
Robert Lord
052036b0c2
Fix incorrect header nesting in redcarpet patch
...
Spotted by @moizjv, thanks!
2014-07-09 22:41:31 -07:00
Robert Lord
719061a638
Update headers to never have problematic characters in ids, fixes #64 , hopefully
2014-06-24 22:34:25 -07:00