kolber / stacey

Cheap & easy content management
http://staceyapp.com
MIT License
1.04k stars 131 forks source link

Markdown parser fails to convert '---' into '—' #80

Closed russellbits closed 11 years ago

russellbits commented 11 years ago

In brief, '---' (three hyphens) does not convert to '—' in the content in a content.yml file.

I would assume that this was a problem with the markdown parser with the exception that I am using the same exact parser (copied code) on another project (Wordpress) and do not get the same result. Perhaps this is a conflict because of the '---' delimiter in YAML? Can an exception to it be made for markdown content?

kolber commented 11 years ago

I believe in the version of Markdown we are using (http://michelf.ca/projects/php-markdown/extra/), three hyphens are used to delineate a h2. If you want to use an em dash, you could use either the character itself or —. Either would work.

russellbits commented 11 years ago

I like the three hyphen convention, but you're right, the actual works just find. Thanks.