入门指南
语法速查表
基本语法
标题语法
段落语法
换行语法
强调语法
引用语法
列表语法
代码语法
分隔线语法
链接语法
图片语法
转义字符语法
内嵌 HTML 标签
扩展语法
扩展语法可用性
表格
围栏代码块
脚注
标题编号
定义列表
删除线
任务列表语法
使用 Emoji 表情
Highlight
Subscript
自动网址链接
禁止自动将 URL 转换为链接
Hacks
Underline
Indent (Tab)
Center
Color
Comments
Admonitions
Image Size
Image Captions
Link Targets
Symbols
Table Formatting
Table of Contents
Videos
书写工具
Indent (Tab) - markdown入门指南 - 笔下光年
网站首页
Indent (Tab)
Tabs and whitespace have a special meaning in Markdown. You can use trailing whitespace to create <a href="http://www.bixiaguangnian.com/manual/markdown/4102.html">line breaks</a>, and you can use tabs to create <a href="http://www.bixiaguangnian.com/manual/markdown/4106.html">code blocks</a>. But what if you need to indent a paragraph the old-fashioned way, using the tab key? Markdown doesn’t provide an easy way of doing that. Your best bet might be to use a Markdown editor that supports indentation. This is common in applications that are more oriented towards desktop publishing. For example, <a href="/tools/ia-writer/">iA Writer</a> allows you to customize indentation settings for the editor in the application preferences. It also provides template customization options so that you can make the rendered document look the way you expect it to, indentation and all. Another option, if your Markdown processor supports <a href="http://www.bixiaguangnian.com/manual/markdown/4111.html">HTML</a>, is to use the HTML entity for non-breaking space (<code>&nbsp;</code>). This should probably be your option of last resort as it can get awkward. Basically, every <code>&nbsp;</code> in your Markdown source will be replaced with a space in the rendered output. So if you stick four instances of <code>&nbsp;</code> before a paragraph, the paragraph will look like it’s indented four spaces. ```markdown This is the first sentence of my indented paragraph. ``` The rendered output looks like this: This is the first sentence of my indented paragraph.
上一篇:
Underline
下一篇:
Center