pelican-pandoc-reader tested. but. not safisfied at all. hmm.

This commit is contained in:
Dooho Yi 2021-01-16 23:11:16 +09:00
parent 590f2e4e4f
commit a74b8529e6
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,2 @@
오래 걸렸지?
그래도 일단, 컴백! 💕

View file

@ -0,0 +1,18 @@
---
title: "md"
author: "D"
date: "2021/01/16, 22:35:12, +0900"
---
안녕.
줄넘기기, 줄넘기.
이번엔 두 줄을 넘긴건데....
흠. 어떻게 해도 안된다. 실패네.
한줄을 잘 띄어지는데, 2줄을 띄는 것 (그러니까, 다음 문단의 시작) 이걸 할 수가 없고
위에 yaml 헤더 같은 것도 꼭 있어야 된다는데 ㅎ.. 알게 뭐람. 정말 쓰잘데기 없다. md.
bye.
ps. pelican-pandoc-reader를 써서. pandoc의 hard_line_breaks의 덕을 좀 보면 좋으려나! 하는 기대감이 있었지만, 흠. 다 쓸데 없어.
역시, text 를 그냥 그대로 출력해주는 reader가 최고야. 그것을 만드는 수 밖에는 없다. 아우 답답한 사람들. md가 다 망치고 있어-진짜.

View file

@ -35,6 +35,12 @@ LINKS = (('Pelican', 'http://getpelican.com/'),
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
#pandoc
PANDOC_EXTENSIONS = [
"+hard_line_breaks",
"+escaped_line_breaks"
]
DEFAULT_PAGINATION = 20
PAGINATED_TEMPLATES = {'index': None, 'tag': None, 'category': None, 'author': None}
TEMPLATE_PAGES = {'pages.html': 'pages.html'}