- Added possibility to make page-breaks,

this greatly enhances readability and structure of a book…
- Added custom css place holder for HTML output too.
- Added 2 page breaks: quickstart - Create Event & Intro - License
pull/112/head
Steve Clement 2018-05-10 12:15:28 +09:00
parent b6e7e90e75
commit 2e0545a0cf
8 changed files with 56 additions and 1 deletions

View File

@ -27,6 +27,8 @@ and many other contributors especially the ones during the [MISP hackathons](htt
We welcome contributions to the MISP book. If you want to contribute, fork the [misp-book](https://github.com/MISP/misp-book) repository and pull a request with your changes. You can also [open issues](https://github.com/MISP/misp-book/issues) if you find any errors or propose changes.
<div class="pagebreak"></div>
## License
The MISP user guide is dual-licensed under [GNU Affero General Public License version 3](http://www.gnu.org/licenses/agpl-3.0.html) and [CC-BY-SA 4.0 international](https://creativecommons.org/licenses/by-sa/4.0/).

View File

@ -11,6 +11,13 @@
},
"twitter": {
"url": "https://www.twitter.com/MISPProject/"
}
},
"styles": {
"website": "styles/website.css",
"ebook": "styles/ebook.css",
"pdf": "styles/pdf.css",
"mobi": "styles/mobi.css",
"epub": "styles/epub.css"
}
}
}

View File

@ -41,6 +41,8 @@ If you need a password generator use:
**All Generator tools are only possibilities without any guarantee!**
<div class="pagebreak"></div>
## Create an Event
![Create an Event in MISP](figures/AddEvent.jpg)

9
styles/ebook.css Normal file
View File

@ -0,0 +1,9 @@
.pagebreak
{
page-break-after: always;
}
div
{
page-break-after: always;
}

9
styles/epub.css Normal file
View File

@ -0,0 +1,9 @@
.pagebreak
{
page-break-after: always;
}
div
{
page-break-after: always;
}

9
styles/mobi.css Normal file
View File

@ -0,0 +1,9 @@
.pagebreak
{
page-break-after: always;
}
div
{
page-break-after: always;
}

16
styles/pdf.css Normal file
View File

@ -0,0 +1,16 @@
// Include custom css in GitBook: https://help.gitbook.com/content/how-can-i-include-css.html
// styles/website.css: will apply only to the website
// styles/pdf.css: will apply only to the PDF
// styles/ebook.css: will apply only to ebook formats (PDF, Mobi, ePub)
// page-break "trick": http://forums.apricitysoftware.com/t/include-pdf-pagebreak-instructions-in-markdown/152
.pagebreak
{
page-break-after: always;
}
div
{
page-break-after: always;
}

1
styles/website.css Normal file
View File

@ -0,0 +1 @@
// Place holder, in case custom css for the HTML is needed