add "apply_data" option. #349

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
5 participants
Contributor

kou commented Jun 20, 2011

Hiki markup (*) uses "{{...}}" syntax for plugin and Jekyll (Liquid) also
uses "{{...}}" syntax for variable expansion. When I use Hiki -> HTML
converter, the "{{...}}" syntax is conflicted. I can't resolve the conflict
in source file because Liquid doesn't have escape syntax. So this change
adds "apply_data" page data option that controls whtether Liquid is used or not.
When I add the following header, I can solves the conflict:

---
apply_data: false

---

(*) http://hikiwiki.org/en/TextFormattingRules.html#l19

@kou kou add "apply_data" option.
Hiki markup (*) uses "{{...}}" syntax for plugin and Jekyll (Liquid) also
uses "{{...}}" syntax for variable expansion. When I use Hiki -> HTML
converter, the "{{...}}" syntax is conflicted. I can't resolve the conflict
in source file because Liquid doesn't have escape syntax. So this change
adds "apply_data" page data option that controls whtether Liquid is used or not.
When I add the following header, I can solves the conflict:
---
apply_data: false
---

(*) http://hikiwiki.org/en/TextFormattingRules.html#l19
0f1dd61

It seems to me that an option for modifying the liquid characters, like you can in Mustache, is a much better idea. And, if you remove the front matter completely, doesn't that have the same result as you are describing?

Contributor

kou commented Jun 24, 2011

Umm... I don't think changing syntax isn't better idea... It is confused to me.

And, if you remove the front matter completely, doesn't that have the same result as you are describing?

I'm sorry but I can't imagine a problem case. Could you show me a problem case?

Contributor

tombell commented Jun 20, 2012

No one replied in a year, might be worth closing this PR.

Owner

parkr commented Feb 7, 2013

I know this was a well-intentioned PR, but just... wat.

<3

parkr closed this Feb 7, 2013

jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.