Fixes:
- Fixed #2: Make sure that
.sort
with Font Awesome icons won't have background image - Fixed bottom margin of
pre
tag to preserve vertical rhythm. - Fixed attachments div's layout for wiki pages
- WYSIWYG's icons will squeeze a little bit on smaller screens
- Images in headers will be aligned to the middle vertically
New:
-
Introduced option
$wiki-page-more-vertical-space
(by defaulttrue
) to improve wiki pages readability even more.
With this option headers will be more distant from each other because their anchors will separate margins. Also it adds some margins to lists. -
Added a few helper classes from Bootstrap:
wiki-pager
- acts like Bootstrap'spager
. Addwiki-pager--aligned
modifier to align links to the sides.lead
for paragraphs that should stand out.text-left
,text-right
,text-center
,text-justify
,text-nowrap
alignment classes.text-lowercase
,text-uppercase
,text-capitalize
text transformation classes.text-muted
,text-primary
,text-success
,text-info
,text-warning
,text-danger
for setting color of the text.text-normal
class for resetting font's weightbg-primary
,bg-success
,bg-info
,bg-warning
,bg-danger
for setting color of the background.
-
Added class
toc-active-prev
that will "highlight" table of contents as "active". Must be applied to direct predecessor of{{toc}}
.
For example, let's say you have wiki pages with some guide. For page of chapter 2 of your guide you would do this:p(toc-active-prev). [[some_page|Chapter 1: Introduction]] {{toc}} [[some_other_page|Chapter 3: Advanced usage]] [[yet_another_page|Chapter 4: FAQ]]
You'll get the idea when you see it in use.