ttscoff / nv

MultiMarkdown version of Notational Velocity with Markdown editing features and preview
http://brettterpstra.com/projects/nvalt
BSD 3-Clause "New" or "Revised" License
1.77k stars 197 forks source link

MultiMarkdown metadata is not stripped out on preview #108

Open albedoa opened 12 years ago

albedoa commented 12 years ago

From the MultiMarkdown documentation:

There must not be any whitespace above the metadata, and the metadata block ends with the first whitespace only line. The metadata is stripped from the document before it is passed on to the syntax parser.

http://github.com/fletcher/MultiMarkdown/wiki/MultiMarkdown-Syntax-Guide

This is currently not happening in the output preview with the (Multi)Markdown option turned on.

Test note:

Date: July 25, 2005

# This is a test

Output:

<p>Date: July 25, 2005</p>

<h1 id="thisisatest">This is a test</h1>

Is this the intended behavior?

ttscoff commented 11 years ago

Are you using the beta?

albedoa commented 11 years ago

I am using:

nvALT by ElasticThreads and Brett Terpstra, based on NV 2.0 β4

ttscoff commented 11 years ago

http://brettterpstra.com/nvalt-2-2-public-beta/

albedoa commented 11 years ago

Ah, thanks! I couldn't tell from the stable version that I wasn't using the beta.