aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-08-31 19:39:03 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-08-31 19:39:03 +0200
commit3e7605d146c73ae283b6a00c1d6d84448805a121 (patch)
treeb27796958567084b52e0c4cfe18cdfd4bf002b74
parent2eb04d8b4178f920996b0f74c953e956761a8f0b (diff)
downloadikiwiki-3e7605d146c73ae283b6a00c1d6d84448805a121.tar
ikiwiki-3e7605d146c73ae283b6a00c1d6d84448805a121.tar.gz
more on ymlfront vs MMD
-rw-r--r--doc/plugins/contrib/ymlfront/discussion.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/plugins/contrib/ymlfront/discussion.mdwn b/doc/plugins/contrib/ymlfront/discussion.mdwn
index b30c2da37..0b58982ff 100644
--- a/doc/plugins/contrib/ymlfront/discussion.mdwn
+++ b/doc/plugins/contrib/ymlfront/discussion.mdwn
@@ -19,3 +19,11 @@ Any objections?
>>> 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]]
+
+>>>> I'm not sure about what kind of problems you're meeting with "---" being used
+>>>> for horizontal rules: isn't it sufficient to just check that (1) the triple-dash
+>>>> is the first thing in the page and (2) there are only YAML-style assignments
+>>>> (and no blank lines) between the two markers? Check #2 would also be enough to
+>>>> support MMD-style metadata, which means (a) no start marker and (b) empty line
+>>>> to mark the end of the metadata block. Would this be supported by the plugin?
+>>>> --GB