huxpro.github.io icon indicating copy to clipboard operation
huxpro.github.io copied to clipboard

I found a problem. "{{{" is fine on github, but not on blogs.

Open TrojanOlx opened this issue 6 years ago • 4 comments

image

TrojanOlx avatar Jun 19 '19 08:06 TrojanOlx

URL: https://blog.oulongxing.com/2019/06/19/%E7%94%A8%E6%88%B7%E5%85%B3%E9%94%AE%E4%BF%A1%E6%81%AF%E9%9A%90%E8%97%8F-C/

TrojanOlx avatar Jun 19 '19 08:06 TrojanOlx

Not sure if im saying non-sense things, but did u tried using \{?

caiodomingues avatar Aug 22 '19 18:08 caiodomingues

Not sure if im saying non-sense things, but did u tried using \{?

Tried but useless. It shows on my blog like this: image

Accelerator086 avatar Apr 30 '20 07:04 Accelerator086

Jekyll automatically renders liquid tags like {{strLen}}. A liquid issue could only be solved with liquid. You should surround your escaped content with liquid raw tag block:

{% raw %}
// Escaped content
{% endraw %}

DotIN13 avatar Apr 30 '20 16:04 DotIN13