Search
✍️

Distill-style blog post 문법

#, ##, ### → h1, h2, h3
*** : 가로줄 추가
Italic → * text *
Bold → ** text **
Citations
<d-cite> 태그를 이용하면 hover 시 정보가 표시되는 citation ( [1] 과 같이 표현) 을 만들 수 있다. key attribute을 설정해주어야 하는데, bibliography 파일에 명시된 key를 사용한다.
예시:
<d-cite key="gregor2015draw"></d-cite>
bibliography 파일은 assets/bibliography 파일에 작성한다.
Footnotes
각주를 달수도 있다. Hoverable footnote 형태로 만들어진다.
예시:
<d-footnote>This will become a hoverable footnote.</d-footnote>
Code blocks
``` 사용 가능!
예시 :
```python CODES HERE ```
Syntax highlighting 은 <d-code> tag을 이용하여 구현함.
예시:
inline의 경우 <d-code language="html">let x = 10;</d-code>
block 단위의 경우 block attribute을 추가.
<d-code block language="javascript"> var x = 25; function(x) { return x * x; } </d-code>