From ac8294637cb5a6390d5303c8c280bc99175a74a3 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 16 Apr 2015 01:38:48 -0300 Subject: no markdown, just pre-formatted text --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4b9aa84..6919683 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The templates can use conditional statements: ``{% if variable %}``, ``{% else % As the compiler is output-agnostic, Atom feeds and sitemaps should be generated using templates as well. -The content defined in source files must be written using Markdown syntax. Javascript and CSS are allowed. Be careful! +The content defined in source files must be written as pre-formatted text. Make sure to enclose the content with ``
`` and ``
`` tags in your templates. The compiler is designed to be easily used with any POSIX-compatible implementation of ``make``. @@ -37,9 +37,9 @@ The compiler is designed to be easily used with any POSIX-compatible implementat TITLE: My nice post DATE: 2007-04-05T12:30-02:00 ---- -# I'm a title +test content. -test content +more test content. ``` If more than one source file is provided, and they have the ``DATE`` variable required by the compiler, it will be used to sort the source files, if needed. Otherwise, the file name will be used to sort the source files. @@ -48,7 +48,7 @@ The ``DATE`` variable is an ISO-8601 date-time, with seconds, and always in UTC. Variables are single-line, and all the whitespace characters, including tabs, before the leading non-whitespace character and after the trailing non-whitespace character will be removed. -Markdown-parsed content is available in template blocks as the ``CONTENT`` variable. +Pre-formatted content is available in template blocks as the ``CONTENT`` variable. ### Template file syntax @@ -68,7 +68,7 @@ Markdown-parsed content is available in template blocks as the ``CONTENT`` varia {% block single_source %}

{{ TITLE }}

{% if DATE %}

Published in: {{ DATE }}

{% endif %} - {{ CONTENT }} +
{{ CONTENT }}
{% endblock %} {% block multiple_sources_once %}