5
A
回答
7
下组织块演示了其部分默认的工作和需要的变通少量工作。
下使用Org-mode version 7.8.03 (release_7.8.03.321.gaac1c)
创建。如果您使用的是旧版本,则行为可能略有不同。
见ORG-手册中Literal Examples和Monospace的全部细节
ORG* Italics
- Your example simply works\\
/cologne/dome/
- It also works if your /example had/spaces within it/
- It will only fail if/your /have spaces on one end or the other/
* Code
Code blocks can be delimited in multiple ways:
** Inline formatting
- Using ~ for verbatim text works\\
~<pre language="python">~
- ~ renders the same as = for blocks =test= ~test~
** Code Blocks
- Single-line blocks
: <pre language="python">
- Multi-line blocks
#+BEGIN_EXAMPLE
asdf
#+END_EXAMPLE
HTML导出
<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> Italics</h2>
<div class="outline-text-2" id="text-1">
<ul>
<li>Your example simply works<br/>
<i>cologne/dome</i>
</li>
<li>It also works if your <i>example had/spaces within it</i>
</li>
<li>It will only fail if/your /have spaces on one end or the other/
</li>
</ul>
</div>
</div>
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2"><span class="section-number-2">2</span> Code</h2>
<div class="outline-text-2" id="text-2">
<p>Code blocks can be delimited in multiple ways:
</p>
</div>
<div id="outline-container-2-1" class="outline-3">
<h3 id="sec-2-1"><span class="section-number-3">2.1</span> Inline formatting</h3>
<div class="outline-text-3" id="text-2-1">
<ul>
<li>Using ~ for verbatim text works<br/>
<code><pre language="python"></code>
</li>
<li>~ renders the same as = for blocks <code>test</code> <code>test</code>
</li>
</ul>
</div>
</div>
<div id="outline-container-2-2" class="outline-3">
<h3 id="sec-2-2"><span class="section-number-3">2.2</span> Code Blocks</h3>
<div class="outline-text-3" id="text-2-2">
<ul>
<li>Single-line blocks
<pre class="example">
<pre language="python">
</pre>
</li>
<li>Multi-line blocks
<pre class="example">asdf
</pre>
</li>
</ul>
乳胶出口
\section{Italics}
\label{sec-1}
\begin{itemize}
\item Your example simply works\\
\emph{cologne/dome}
\item It also works if your \emph{example had/spaces within it}
\item It will only fail if/your /have spaces on one end or the other/
\end{itemize}
\section{Code}
\label{sec-2}
Code blocks can be delimited in multiple ways:
\subsection{Inline formatting}
\label{sec-2-1}
\begin{itemize}
\item Using \~{} for verbatim text works\\
\verb~<pre language="python">~
\item \~{} renders the same as = for blocks \texttt{test} \verb~test~
\end{itemize}
\subsection{Code Blocks}
\label{sec-2-2}
\begin{itemize}
\item Single-line blocks
\begin{verbatim}
<pre language="python">
\end{verbatim}
\item Multi-line blocks
\begin{verbatim}
asdf
\end{verbatim}
\end{itemize}
+1
如前所述〜逐字〜工作,但它的报价打破了我,单双。此[链接](http://lists.gnu.org/archive/html/emacs-orgmode/2010-04/msg00330.html)由闭合之前添加U200B(ZERO WIDTH SPACE)字符〜帮助。 – nymo 2013-06-26 23:25:11
0
我猜你要输出的原始/cologne/dome/
,但不是<i>cologne/dome</i>
,对吧?
两种方式:
- 设置
#+OPTIONS: *:nil
关闭所有重点符号 - 修改
org-emphasis-alist
,删除相关项目
我也问过类似的问题在这里:How do I escape slash in org-mode?
相关问题
- 1. 在组织模式
- 2. 刷新组织架构组织模式
- 3. 在Emacs组织模式
- 4. Windows保护模式 - 内存
- 5. 保护CRTP模式调用
- 6. X86:保护模式,GDT,IDT
- 7. 在非组织模式缓冲区中获取组织模式分享
- 8. HTACCESS维护模式重写
- 9. 组织模式拍摄的模板
- 10. 组织模式表到s表达式
- 11. 在组织模型中为社会安全和组织模式建模
- 12. 缓存重点组织问题
- 13. 如何保持Emacs组织模式不会分裂窗户?
- 14. 保护节点+ Postgres +护照
- 15. 组织模式捕捉无地点和日期
- 16. 在课堂上正确组织公共/保护/私人功能
- 17. Emacs组织模式,重复任务M-F但不是周末?
- 18. 如何使用组织模式重复投影机帧?
- 19. 我可以在组织模式下重新定位省略号(...)
- 20. 如何组织IOS中没有重复模式的长视图
- 21. 如何重新映射组织键模式?
- 22. 在组织模式下跟踪重复项目
- 23. 重新组织NSMutableArray
- 24. “STI”,在保护模式下,CPU将重新启动
- 25. Emacs:将CSV导入组织模式
- 26. 创建使用组织模式
- 27. 组织模式下的自动编号
- 28. 比较降价或组织模式
- 29. 组织模式纠结评论
- 30. Emacs组织模式发布议程
我不明白你的问题。也许你可以解释你现在得到什么以及你想做什么? – 2012-02-20 20:47:44
这样的问题尚不清楚。在上面的例子中你想保护什么(输出是什么,你想要输出什么)? – 2012-02-20 23:18:01
问题:我想装上去斜体,其包括用于斜体标记(=斜杠)或装上去的代码,其包括用于编码(=等号)的标记物。我有办法保护这些吗? – dshh2011 2012-02-21 00:32:48