1
0
mirror of https://github.com/typemill/typemill.git synced 2025-10-16 23:28:52 +02:00

finished TOC feature

This commit is contained in:
Sebastian
2017-11-29 21:51:47 +01:00
parent 4bea02cb16
commit 7da2060cae
30 changed files with 605 additions and 276 deletions

View File

@@ -11,7 +11,7 @@ You will find all themes in the `theme` folder of TYPEMILL. Change the theme in
There is no theme structure. There are only two files that are required:
- `index.twig`: All content files will be rendered with this template.
- `404.twig`: This is the template for a not found message.
- `404.twig`: This is the template for a not found message.
There is another optional template:

View File

@@ -2,6 +2,12 @@
This is just a test file to check, if all the html elements created by the markdown syntax are styled correctly. If you create a new template, please use this page to check your css styling.
## Table of Contents
You can create a table of contents with the [TOC] tag written in a separate line. The TOC-Tag will be replaced with a link-list to all headlines of the page.
[TOC]
## Inline Elements
This is an ordinary paragraph containing only simple text.

View File

@@ -0,0 +1,5 @@
# Übermaß: A simple encoding test
This is just a test for character encoding. If you see the correct german word "Übermaß" in the left navigation, and if you can click the navigation point to get to this page, then everything works fine.
I still encourage you to use only english characters to name your content files, because many special characters and many languages won't work. I even doubt, that german or european characters will work in special server environments. So you can try it, but if it does not work, you only option is to avoid special characters in your file-names.