사용자 도구

사이트 도구


pandoc:template

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
pandoc:template [2014/08/09 17:16]
kwon37xi [페이지 나눔]
pandoc:template [2014/08/11 16:55] (현재)
kwon37xi [글자 속성]
줄 12: 줄 12:
 기본적으로 새 줄이 있어도 이어서 보여준다. 새 줄기호 자체는 **두 개 이상의 공백(문단 나누기)** 혹은 **백슬래시 후 새 줄 하나(새 줄 내리기)**로 표현. 기본적으로 새 줄이 있어도 이어서 보여준다. 새 줄기호 자체는 **두 개 이상의 공백(문단 나누기)** 혹은 **백슬래시 후 새 줄 하나(새 줄 내리기)**로 표현.
  
 +===== 글자 속성 =====
 +  * ''_italic_'', ''*italic*'' 이탤릭
 +  * ''<nowiki>__bold__</nowiki>'', ''<nowiki>**bold**</nowiki>'' 볼드
 +  * ''`코드`'' 인라인 코드
 +  * Escaping<code>
 +This is \*\*not\*\* in bold.
 +</code>
 ===== 헤더 ===== ===== 헤더 =====
 ==== settext style ==== ==== settext style ====
줄 98: 줄 105:
 ===== 페이지 나눔 ===== ===== 페이지 나눔 =====
 ''\newpage'', ''\pagebreak''는 페이지를 나누는 작용을 한다. 하지만 PDF와 Latex에만 적용된다. ''\newpage'', ''\pagebreak''는 페이지를 나누는 작용을 한다. 하지만 PDF와 Latex에만 적용된다.
 +원칙적으로 페이지 나눔은 지원하지 않는다. 
 +https://github.com/jgm/pandoc/pull/805 에서 논의중.
  
-http://tex.stackexchange.com/questions/131562/adding-page-breaks-to-pandoc-latex-template-when-converting-markdown +===== 주석 ===== 
-> pandoc <nowiki>--chapters, or pandoc -V documentclass=memoir or pandoc -V documentclass=book</nowikiwill tell pandoc to treat level 1 headers as chapters rather than sections. In both the book and memoir document classes, chapters are preceded by page breaks+<code markdown> 
-I'm not sure exactly what you need to set in your header to get page breaks before sections. Have you read the documentation for the memoir class? It includes \setbeforesectionskip{} command that might a place to start.+Here is a footnote reference,[^1] and another.[^longnote] 
 + 
 +[^1]: Here is the footnote. 
 + 
 +[^longnote]: Here's one with multiple blocks. 
 + 
 +    Subsequent paragraphs are indented to show that they 
 +belong to the previous footnote. 
 + 
 +여기부터는 일반 내용. 각주 아님. 
 +</code> 
 +  * 각주의 지시자는 공백과 특수문자가 없는 한 단어이면 된다. 
 +  * ''[^1]''는 짧은 각주이다. 
 +  * ''[^longnote]''는 긴 각주의 에제이다. 각주 내용부분이 한 단계 인덴트 되어 있어야한다. 
 + 
 +인라인 주석도 가능하다. 이 때는 글 내용 바로 옆에 ''이런 저런내용.^[인라인 주석. 문단을 포함할 수 없음] 그 다음내용'' 형태로 기술한다. 인라인 주석도 각주이지만 다른 점은 실제 내용 바로 옆에 각주 내용을 기술한다는 점과 여러 문단으로 구성할 수 없다는 점이다. 
 + 
 +===== 링크 ===== 
 +  * 꺽쇠로 감싸면 자동으로 링크를 걸어준다.<code markdown> 
 +<http://google.com
 +<sam@green.eggs.ham> 
 +</code> 
 +  * 일반적인 링크<code markdown> 
 +This is an [inline link](/url), and here's [one with 
 +a title](http://fsf.org "click here for a good time!"). 
 +</code> 
 + 
 +===== 이미지(figure) ===== 
 +  * 캡션달린 이미지<code markdown> 
 +![This is the caption](/url/of/image.png) 
 +</code> 
 +  * 문단내 포함되는 이미지<code markdown> 
 +![This image won't be figure](/url/of/image.png)\ 
 +</code>
  
pandoc/template.1407572197.txt.gz · 마지막으로 수정됨: 2014/08/09 17:16 저자 kwon37xi