Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Added CSS

andjar edited this page Apr 24, 2020 · 3 revisions

userall.css

#dokuwiki__aside{
    position: sticky;
    top: 75px;
    bottom: 0;
    overflow: auto;
}

.dw-sidebar-content legend {
    display: none;
}

.dokuwiki div.wrap_todohide{
    display: none;
}

.dokuwiki div.plugin_include_content div.wrap_exclude p{
    display: none;
}

.dokuwiki div.plugin_include_content div.wrap_exclude:after{
    content: "...";
}

.dokuwiki div.plugin_include_content div.wrap_exclude_totally{
    display: none;
}

WRAP elements

There are several new WRAP elements that you can use.

<WRAP exclude>
Some text
</WRAP>

to avoid the text from showing up in transclusions. The text is replaced by a simple "...". To hide it completely, use exclude_totally instead.

<WRAP nopandoc>
Some text
</WRAP>

will remove the sections before the text is processed by pandoc. You cannot have other classes inbetween WRAP and nopandoc. The same goes for that defines the YAML section.

I have modified the include plugin so that you can choose to include only text within a specified WRAP class in a page. Use {{WRAP>[pageid]#[WRAP class]&[flags]}}

Clone this wiki locally