В этой статье я собираю различные полезные трюки и лайфхаки при работе с markdown-файлами
Syntax highlighting
“`js
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
“`
Enable typographer option to see result.
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
© © ® ® ™ ™ § § ±
Blockquotes can also be nested…
> Blockquotes can also be nested… >> …by using additional greater-than signs right next to each other… > > > …or with spaces between arrows. arrows.
Blockquotes can also be nested…
…by using additional greater-than signs right next to each other…
…or with spaces between arrows.
Gutentor Simple Text
### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)
Term 1
: Definition 1
with lazy continuation.
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
_Compact style:_
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
Definition lists
Term 1
Definition 1 with lazy continuation.
Term 2 with inline markup
Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
Compact style:
Term 1
Definition 1
Term 2
Definition 2a
Definition 2b
Продолжение следует…
Источники:
Добавить комментарий
Для отправки комментария вам необходимо авторизоваться.