diff --git a/content/00-Welcome/03-Markdown-Test.txt b/content/00-Welcome/03-Markdown-Test.txt new file mode 100644 index 0000000..3719411 --- /dev/null +++ b/content/00-Welcome/03-Markdown-Test.txt @@ -0,0 +1 @@ +["# Markdown Reference and Test Page","Markdown is a simple and universal syntax for text formatting. More and more writers switch to markdown, because they can format their text during the writing process without using any format-buttons. Once they are familiar with the markdown syntax, they can write formatted text much easier and faster than with any standard HTML-editor.","Developers love markdown, because it is much cleaner and saver than HTML. And they can easily convert markdown to a lot of other document formats like HTML and others.","If you develop a theme for TYPEMILL, please take care that all elements on this page are designed properly.","## Table of Contents","To create a table of contents, simply write `[TOC]` in a separate line. It will be replaced with a table of contents like this automatically.","[TOC]","## Headlines","```\nHeadlines are simply done with hash chars like this:\n# First Level Headline\n## Second Level Headline\n### Third Level Headline\n#### Fourth Level Headline\n##### Fifth Level Headline\n###### Sixth Level Headline\n```","### Third Level Headline {.myclass}","A third headline is more decent and lower prioritized than a second level headline.","#### Fourth Level Headline","A fourth level headline is more decent and lower prioritized than a third level headline.","##### Fifth Level Headline","A fifth level headline is more decent and lower prioritized than a fourth level headline.","##### Sixth Level Headline","A sixth level headline is more decent and lower prioritized than a fifths level headline.","##Paragraph","````\nA paragraph is a simple text-block separated with a new line above and below.\n````","A paragraph is a simple text-block separated with a new line above and below.","## Soft Linebreak","````\nFor a soft linebreak (eg. for dialoges in literature), add two spaces at the end of a line and use a simple return.\nShe said: \"Hello\" \nHe said: \"again\"\n````","For a soft linebreak (eg. for dialoges in literature), add two spaces at the end of a line and use a simple return.","She said: \"Hello\" \nHe said: \"again\"","##Emphasis","````\nFor italic text use one *asterix* or one _underscore_.\nFor bold text use two **asterix** or two __underscores__.\n````","For italic text use one *asterix* or one _underscore_.","For bold text use two **asterix** or two __underscores__.","##Lists","````\nFor an unordered list use a dash\n- like \n- this\nOr use one asterix\n* like\n* this\nFor an ordered list use whatever number you want and add a dot:\n1. like\n1. this\n````","For an unordered list use a dash","- like \n- this","Or use one asterix","* like\n* this","For an ordered list use whatever number you want and add a dot:","1. like\n2. this","## Horizontal Rule","```\nEasily created for example with three dashes like this:\n---\n```","Easily created for example with three dashes like this:","---","##Links","````\nThis is an ordinary [Link](http:\/\/typemill.net).\nLinks can also be [relative](\/info).\nYou can also add a [title](http:\/\/typemill.net \"typemill\").\nYou can even add [ids or classes](http:\/\/typemill.net){#myid .myclass}.\nOr you can use a shortcut like http:\/\/typemill.net.\n````","This is an ordinary [Link](http:\/\/typemill.net).","Links can also be [relative](\/info).","You can also add a [title](http:\/\/typemill.net \"typemill\").","You can even add [ids or classes](http:\/\/typemill.net){#myid .myclass}.","Or you can use a shortcut like http:\/\/typemill.net.","##Images","````\nThe same rules as with links, but with a !\n![alt-text](media\/markdown.png)\n![alt-text](media\/markdown.png \"my title\"){#myid .imgClass}\n![alt-text](media\/markdown.png \"my title\"){#myid .otherclass width=150px}\n````","The same rules as with links, but with a !","![alt-text](media\/markdown.png)","![alt-text](media\/markdown.png \"my title\"){#myid .imgClass}","![alt-text](media\/markdown.png \"my title\"){#myid .otherclass width=150px}","## Linked Images","````\nYou can link an image with a nested syntax like this:\n[![alt-text](media\/markdown.png)](https:\/\/typemill.net)\n````","You can link an image with a nested syntax like this:","[![alt-text](media\/markdown.png){.imgClass}](https:\/\/typemill.net)","## Image Position","````\nYou can controll the image position with the classes .left, .right and .middle like this:\n![alt-text](media\/markdown.png){.left}\n![alt-text](media\/markdown.png){.right}\n![alt-text](media\/markdown.png){.middle}\n````","![image float left](media\/markdown.png){.left}","The first image should float on the left side of this paragraph. This might not work with all themes. If you are a theme developer, please ensure that you support the image classes \"left\", \"right\" and \"middle\". You can add these classes manually in the raw mode or you can assign them in the visual mode when you edit a picture (double click on it to open the dialog.)","![image float right](media\/markdown.png){.right}","The second image should float on the right side of this paragraph. This might not work with all themes. If you are a theme developer, please ensure that you support the image classes \"left\", \"right\" and \"middle\". You can add these classes manually in the raw mode or you can assign them in the visual mode when you edit a picture (double click on it to open the dialog.)","![image middle](media\/markdown.png){.middle}","The thirds image should be placed above this paragraph and centered to the middle of the content area. This might not work with all themes. If you are a theme developer, please ensure that you support the image classes \"left\", \"right\" and \"middle\".","## Blockquote","```\nThere are always some women and men with wise words\n> But I usually don't read them, to be honest.\n```","There always some women and men with wise words","> But I usually don't read them, to be honest.","##Footnotes","````\nYou can write footnotes[^1] with markdown. \nScroll down to the end of the page[^2] and look for the footnotes.\nAdd the footnote text at the bottom of the page like this:\n[^1]: Thank you for scrolling.\n[^2]: This is the end of the page.\n````","You can write footnotes[^1] with markdown. ","Scroll down to the end of the page[^2] and look for the footnotes. ","Footnotes won't work with the visual editor right now, so please use the raw mode for them.","## Abbreviations","````\n*[HTML]: Hyper Text Markup Language\n*[W3C]: World Wide Web Consortium\n````","You won't see the abbreviation directly, but if you write HTML or W3C somewhere, then you can see the tooltip with the explanation.","*[HTML]: Hyper Text Markup Language","*[W3C]: World Wide Web Consortium","## Definition List","````\nApple\n: Pomaceous fruit of plants of the genus Malus in the family Rosaceae.\nOrange\n: The fruit of an evergreen tree of the genus Citrus.\n````","Apple\n: Pomaceous fruit of plants of the genus Malus in \nthe family Rosaceae.\n\nOrange\n: The fruit of an evergreen tree of the genus Citrus.\n\n","## Tables","````\n|name |usage |\n|-----------|-----------|\n| My Name | For Me |\n| Your Name | For You |\n````","| Name | Usage |\n| --------- | ------- |\n| My Name | For Me |\n| Your Name | For You |","## Code","````\nLet us create some `` like this\n````","Let us create some `` and now let us check, if a codeblock works:","````\nUse four apostroph like this: \n\\````\n \n\\````\n````","## Math","Please activate the math-plugin to use mathematical expressions with LaTeX syntax. You can choose between MathJax or the newer KaTeX library. MathJax is included from a CDN, KaTeX is included in the plugin. So if you don't want to fetch code from a CDN, use KaTeX instead. The markdown syntax in TYPEMILL is the same for both libraries.","````\nWrite inline math with \\(...\\) or $...$ syntax.\ninline $x = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)$ math\ninline \\(x = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)\\) math\n````","inline $x = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)$ math","inline \\(x = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)\\) math","````\nWrite display math with $$...$$ or \\[...\\] syntax. \n$$\nx = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)\n$$\n\\[\nx = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)\n\\]\n````","$$\nx = \\int_{0^1}^1(-b \\pm \\sqrt{b^2-4ac})\/(2a)\n$$","Das war es dann aber auch.","[^1]: Thank you for scrolling.\n[^2]: This is the end of the page."] \ No newline at end of file diff --git a/content/index.txt b/content/index.txt new file mode 100644 index 0000000..550066d --- /dev/null +++ b/content/index.txt @@ -0,0 +1 @@ +["# Typemill","*Typemill is a user-friendly and lightweight open source CMS for publishing text-works like prose, lyrics, manuals, documentations, studies and more. Just download and start.* bla"] \ No newline at end of file