Miscellaneous
Automatic Links
Markdown supports a shortcut style for creating “automatic” links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:
http://example.com/
Markdown will turn this into:
http://example.com/
Automatic links for email addresses work similarly, except that Markdown will also perform a bit of randomized decimal and hex entity-encoding to help obscure your address from address-harvesting spambots. For example, Markdown will turn this:
address@example.com
into something like this:
address@exa
mple.com
which will render in a browser as a clickable link to “address@example.com”.
(This sort of entity-encoding trick will indeed fool many, if not most, address-harvesting bots, but it definitely won’t fool all of them. It’s better than nothing, but an address published in this way will probably eventually start receiving spam.)
Backslash Escapes
Markdown allows you to use backslash escapes to generate literal characters which would otherwise have special meaning in Markdown’s formatting syntax. For example, if you wanted to surround a word with literal asterisks (instead of an HTML tag), you can use backslashes before the asterisks, like this:
*literal asterisks*
Markdown provides backslash escapes for the following characters:
\ backslash
` backtick
- asterisk
_ underscore
{} curly braces
[] square brackets
() parentheses
hash mark
- plus sign
- minus sign (hyphen)
. dot
! exclamation mark
總結
以上是生活随笔為你收集整理的Miscellaneous的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: VS2017 出现Miscellaneo
- 下一篇: Sass函数-Miscellaneous