Skip to content

Commit

Permalink
Update example .mdt source
Browse files Browse the repository at this point in the history
- Show example of putting at-expressions before the meta-data section.

- Fix typo.
  • Loading branch information
Greg Hendershott committed Oct 26, 2015
1 parent 54b5c75 commit 48ae7ef
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1,9 +1,12 @@
@; It is OK to put things above the meta-data, as long as they evaluate to
@; blank lines.
@(define x 42)
Title: A blog post using markdown template
Date: 2015-10-26T00:00:00
Tags: Racket

This file has a `.mdt` extension, meaning it will first be evaluated
as a template, and tthe resulting text is provided to the markdown
as a template, and the resulting text is provided to the markdown
parser.

For example `@"@+[1 1]"` evaluates to @+[1 1].
Expand Down

0 comments on commit 48ae7ef

Please sign in to comment.