Formatting
Markdown .md pages are plain text documents with a simple human readable syntax that aims to make writing for the internet easier.
No special software is required to create a .md file. Any basic text editor will do. Just save the file with a .md file extension.
Please see markdownguide.org for a full demonstration of the formatting possibilities and best practices.
View the actual formatting.md source file used to create this page.
Quick start
The following sample demonstrates a very basic sample.md page sample with a page title and one paragraph.
# Page title here
This is a paragraph.
We can build on the above sample by adding more content and formatting, such as bold text, images, and lists.
<!-- Include file not found: snippets/markdown-sample -->
At a very basic level, to create a new page for your Neko project, do the following:
- Make a
readme.mdfile - Add a
# title - Start writing
Home page
Your project should include a default file (readme.md, index.md, default.md, welcome.md or home.md) within the root of the project. If there is a default file within the root folder, Neko will use that page as your home page. Clicking on the top-left logo or title will navigate to the home page.
Outside of the root of your project, adding a file with the exact same name as folder, will also act as a default page for that folder. For instance, adding /guides/guides.md is equivalent to /guides/index.md.
The default files can be used inside any folder of the project. Given the following folder and file structure, where Guides is a folder...
|-- Guides
|-- index.md
|-- getting-started.md
|-- readme.md
...Neko will create three pages in your website and the pages will be available at the following locations:
//guides//guides/getting-started/
If your home page is the Neko generated Welcome page, add a default page to the root of your project. The home page file can be named readme.md, index.md, default.md, welcome.md or home.md.
Components
In addition to the standard Markdown options, Neko includes many custom components so you can easily add extra 💎 flair 💎 to your document.
The most commonly used Neko components include Alert, Tab, and Emojis:
Callout
This is an Callout
!!!
This is an Callout
!!!
Tab
This is Tab 1
+++ Tab 1
This is Tab 1
+++ Tab 2
This is another Tab
+++