-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMy_first_Quarto.xml
More file actions
41 lines (41 loc) · 1.19 KB
/
My_first_Quarto.xml
File metadata and controls
41 lines (41 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article>
<article
xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<info>
<title>我的第一个Quarto</title>
</info>
<section xml:id="quarto">
<title>Quarto</title>
<para>
Quarto enables you to weave together content and executable code
into a finished document. To learn more about Quarto see
<link xlink:href="https://quarto.org" role="uri">https://quarto.org</link>.
</para>
</section>
<section xml:id="running-code">
<title>Running Code</title>
<para>
When you click the <emphasis role="strong">Render</emphasis>
button a document will be generated that includes both content and
the output of embedded code. You can embed code like this:
</para>
<programlisting language="r script">
1 + 1
</programlisting>
<programlisting>
[1] 2
</programlisting>
<para>
You can add options to executable code like this
</para>
<programlisting>
[1] 4
</programlisting>
<para>
The <literal>echo: false</literal> option disables the printing of
code (only output is displayed).
</para>
</section>
</article>