add an example for custom css

This commit is contained in:
Stefan Schindler 2017-09-21 11:05:48 +02:00
parent 911683d2cf
commit 9dca3cd299
3 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,5 @@ description = "Create book from markdown files. Like Gitbook but implemented in
author = "Mathieu David" author = "Mathieu David"
[output.html] [output.html]
additional-css = ["my_custom.css"]
mathjax-support = true mathjax-support = true

View File

@ -16,9 +16,11 @@ description = "The example book covers examples."
[output.html] [output.html]
destination = "my-example-book" destination = "my-example-book"
additional-css = ["custom.css"] additional-css = ["my_custom.css"]
``` ```
<div class="custom_border">Formatting elements with custom css.</div>
## Supported configuration options ## Supported configuration options
It is important to note that **any** relative path specified in the in the configuration will It is important to note that **any** relative path specified in the in the configuration will

View File

@ -11,3 +11,4 @@ If you have contributed to mdBook and I forgot to add you, don't hesitate to add
- Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen)) - Wayne Nilsen ([waynenilsen](https://github.com/waynenilsen))
- [funnkill](https://github.com/funkill) - [funnkill](https://github.com/funkill)
- Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang)) - Fu Gangqiang ([FuGangqiang](https://github.com/FuGangqiang))
- Stefan Schindler ([dns2utf8](https://github.com/dns2utf8))