diff options
author | http://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web> | 2010-08-31 12:36:50 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-08-31 12:36:50 +0000 |
commit | 2eb04d8b4178f920996b0f74c953e956761a8f0b (patch) | |
tree | 95c123d74942c50d23e6dab5a5d1f59364356551 | |
parent | 89ddd60537abb73af8a739b4e88942cb3fef0d4a (diff) | |
download | ikiwiki-2eb04d8b4178f920996b0f74c953e956761a8f0b.tar ikiwiki-2eb04d8b4178f920996b0f74c953e956761a8f0b.tar.gz |
keeping triple-dash as default, but making it configurable
-rw-r--r-- | doc/plugins/contrib/ymlfront/discussion.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/plugins/contrib/ymlfront/discussion.mdwn b/doc/plugins/contrib/ymlfront/discussion.mdwn index 03af5e634..b30c2da37 100644 --- a/doc/plugins/contrib/ymlfront/discussion.mdwn +++ b/doc/plugins/contrib/ymlfront/discussion.mdwn @@ -16,3 +16,6 @@ Any objections? >> way of including metadata in documents. The only difference is that MMD doesn't expect the >> triple-dash separators, but I'm thinking about submitting a patch to MMD to actually support >> that syntax. --GB + +>>> Yes, the idea was to allow the file to be parsed as YAML, you're right. I just found that I tended to have problems when people used "---" for horizontal rules. However, I have also found that trying to keep it solely as an IkiWiki directive doesn't work either, since sometimes the meta-data I need also contained "]]" which broke the parsing of the directive. +>>> So I have decided to go for a compromise, and make the delimiter configurable, rather than hardcoded as "---"; the triple-dash is the default, but it can be configured to be something else instead. I haven't pushed the change yet, but I have written it, and it seems to work. -- [[KathrynAndersen]] |