Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / contents / typography.pug
diff options
context:
space:
mode:
Commitc59e31abc96642d4e54e56e3aa8167806a35f35e (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-06-03 17:37:29 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-06-03 17:37:29 +0800
Filesca1f4c1b83d80e193484a505537ebfffa9817c8c /docs/src/contents/typography.pug
Spectre-Dark-Gruvbox-c59e31abc96642d4e54e56e3aa8167806a35f35e.tar
Spectre-Dark-Gruvbox-c59e31abc96642d4e54e56e3aa8167806a35f35e.tar.gz
Spectre-Dark-Gruvbox-c59e31abc96642d4e54e56e3aa8167806a35f35e.zip
Parentf8d7a075fa0b28b299e33c1bdc2a9d25dd668847 (diff)
Update buttons and forms docs to Pug templates
1 files changed, 7 insertions, 15 deletions
-rw-r--r--docs/src/contents/typography.pug22
diff --git a/docs/src/contents/typography.pug b/docs/src/contents/typography.pug
index 47b980a..28ffc17 100644
--- a/docs/src/contents/typography.pug
+++ b/docs/src/contents/typography.pug
@@ -40,9 +40,8 @@ pre.code(data-lang='HTML')
+docs-subheading('typography-paragraphs', 'Paragraphs')
p
- | Lorem ipsum dolor sit amet, consectetur
- a(href='#typography') adipiscing elit. Praesent risus leo, dictum in vehicula sit amet
- | , feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.
+ | Lorem ipsum dolor sit amet, consectetur #[a(href='#typography') adipiscing elit].
+ | Praesent risus leo, dictum in vehicula sit amet, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.
p
| Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.
@@ -127,7 +126,7 @@ p.h5
small(lang='zh-Hans') 你好
| ,
small(lang='ja') こんにちは
- | ,
+ | ,
small(lang='ko') 안녕하세요
p.h6 Chinese (Simplified)
@@ -142,9 +141,7 @@ p.h6 Korean
p(lang='ko')
| 나라말이 중국과 달라, 한문・한자와 서로 통하지 아니하므로, 어리석은 백성들이 말하고자 하는 바가 있어도, 끝내 제 뜻을 펴지 못하는 사람이 많다. 내가 이를 불쌍히 여겨, 새로 스물 여덟 글자를 만드니, 사람마다 하여금 쉽게 익혀, 날마다 씀에 편하게 하고자 할 따름이다.
p
- | Use the
- code lang
- | attribute to the container element to have better Asian CJK (Chinese, Japanese and Korean) font support.
+ | Use the #[code lang] attribute to the container element to have better Asian CJK (Chinese, Japanese and Korean) font support.
pre.code(data-lang='HTML')
code
@@ -154,11 +151,7 @@ pre.code(data-lang='HTML')
<p lang="ko">나라말이 중국과 달라, 한문・한자와 서로 통하지 아니하므로……</p>
p
- | And you can use the
- code cjk
- | class or the
- code lang
- | attribute to add spacing between underlines and strike-through text for better Chinese and Japanese readability.
+ | And you can use the #[code cjk] class or the #[code lang] attribute to add spacing between underlines and strike-through text for better Chinese and Japanese readability.
p(lang='ja')
u 祇園
@@ -178,9 +171,8 @@ pre.code(data-lang='HTML')
+docs-subheading('typography-fonts', 'Fonts')
p
- | Spectre sets the most common and best
- code font-family
- | for each OS with fallback support in old systems. There are also fonts targeted East Asian typography.
+ | Spectre sets the most common and best #[code font-family] for each OS with fallback support in old systems.
+ | There are also fonts targeted East Asian typography.
pre.code
code