My page’s template

If you want to use my page’s template, you need to have pandoc installed. After you install it, you need to run the following commands (if you’re using Linux and have curl installed):

# Create a folder with the site (you can skip this part)
mkdir website
cd website

# Download the required files

curl https://magmaus3.neocities.org/templates/main.template/header.html | tee header.html

curl https://magmaus3.neocities.org/templates/main.template/main.template.html | tee main.template.html

After running the steps above, you’ll have a website folder with the template set up.

To convert a markdown template to the site, you’ll have to run the following commands:

pandoc your_markdown_file.md --template=main.template.html -o your'output_file.html

If you want to have table-of-contents in the page, you can append a --toc argument to the command.