From b353eff550b070f6486f3affd8ca0fbac1ae2612 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 9 Sep 2018 14:21:31 +0800 Subject: [PATCH] Fix code typo #460 --- docs/elements.html | 2 +- docs/src/contents/code.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/elements.html b/docs/elements.html index 685aa3dcb..05c581df5 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -1500,7 +1500,7 @@

Code<

Code is used for styling inline and multiline code snippets.

For inline code, you can use the <code> element. For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. - The data-lang ibute is rendered as the language name in the top right. + The data-lang attribute is rendered as the language name in the top right.

<!-- code snippets -->
 <button class="btn">
diff --git a/docs/src/contents/code.pug b/docs/src/contents/code.pug
index f1ee876aa..b14cc89c5 100644
--- a/docs/src/contents/code.pug
+++ b/docs/src/contents/code.pug
@@ -2,7 +2,7 @@ p Code is used for styling inline and multiline code snippets.
 p
   | For inline code, you can use the #{''} element. 
   | For multiline code snippet blocks, you can use #{'
'} with the #[code code] class as a container, and add #{''} inside it.
-  | The #[code data-lang] ibute is rendered as the language name in the top right.
+  | The #[code data-lang] attribute is rendered as the language name in the top right.
 
 pre.code(data-lang='HTML')
   code