Adding Pages
User Guide → Adding PagesIt is easy to add files to a MarkBind site as any file inside the becomes a part of the generated website.
Example If you have a file tutorial/code.txt
in your root directory, it will be available as <website-url>/tutorial/code.txt
in the generated website.
You can specify which files to be omitted from the site by using the ignore
field in the site.config
file as explained here.
More importantly, .md
files can be transformed into html pages with matching names.
Example <root>/tutorial/
setup.md
can be transformed into <website-url>/tutorial/
setup.html
Here are the steps to add a new page to your site:
.md
file anywhere inside the root directory.pages
attribute of the site.json
to cover the new file, if necessary.