You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/lightweight-markup.dj
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Beyond technical considerations, it's also worth examining the functionality of
63
63
Markdown can be intricate, with subtle nuances where even a single space can trigger unexpected effects.
64
64
It exhibits non-intuitive behaviors, such as the use of indentation to denote code blocks.
65
65
There are inconsistent outcomes with lists, emphases, headings...
66
-
See John MacFarlane's ["Beyond Markdown"](https://johnmacfarlane.net/beyond-markdown.html) essay for some more examples, and the reasons that led him propose Djot.
66
+
See John MacFarlane's ["Beyond Markdown"](https://johnmacfarlane.net/beyond-markdown.html) essay for some more examples, and the reasons that led him propose Djot [@djot:macfarlane2018].
Copy file name to clipboardExpand all lines: examples/sile-and-djot.dj
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -524,16 +524,17 @@ This implementation, however, recognizes a simplified subset of the Pandoc citat
524
524
:::
525
525
```
526
526
I wrote a whole book on mathematics with SILE [@sile:willis2024].
527
+
... also supported [@sile:willis2024; @sile:willis2022].
527
528
... a "master document" [@sile:willis2021, part 1].
528
-
... _The SILE Book_ for more information [@sile, chapter 5].
529
529
```
530
530
:::
531
531
532
532
I wrote whole book on mathematics with SILE [@sile:willis2024].
533
+
Note that multiple citations are also supported [@sile:willis2024; @sile:willis2022].
533
534
534
535
How to load bibliographies and configure citation styles is beyond the scope of this manual.
535
-
If you are using the resilient collection, the most natural way to do this is a "master document" [@sile:willis2021, part 1].
536
-
Note that support for biblibraphies in SILE is an experimental feature, so you may also want to check _The SILE Book_ for more information [@sile, chapter 5].
536
+
With the resilient collection, the most natural way to do this is a "master document" [@sile:willis2021, part 1].
537
+
For more information, you may also want to check _The SILE Book_ [@sile, chapter 5].
537
538
538
539
{#djot-symbols}
539
540
### Symbols
@@ -1422,7 +1423,7 @@ For instance, you can include a Djot file with shifted headings like this:
1422
1423
1423
1424
{custom-style=CodeBlock}
1424
1425
:::
1425
-
```
1426
+
```sil
1426
1427
\include[src=somefile.dj, shift_headings=1]
1427
1428
```
1428
1429
:::
@@ -1431,7 +1432,7 @@ For document classes supporting it (in particular, the *resilient* book class),
Copy file name to clipboardExpand all lines: examples/sile-and-markdown.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -512,16 +512,17 @@ This implementation recognizes a simplified subset of the Pandoc citation syntax
512
512
::: {custom-style=CodeBlock}
513
513
```
514
514
I wrote a whole book on mathematics with SILE [@sile:willis2024].
515
+
... also supported [@sile:willis2024; @sile:willis2022].
515
516
... a "master document" [@sile:willis2021, part 1].
516
-
... _The SILE Book_ for more information [@sile, chapter 5].
517
517
```
518
518
:::
519
519
520
520
I wrote whole book on mathematics with SILE [@sile:willis2024].
521
+
Note that multiple citations are also supported [@sile:willis2024; @sile:willis2022].
521
522
522
523
How to load bibliographies and configure citation styles is beyond the scope of this manual.
523
-
If you are using the resilient collection, the most natural way to do this is a "master document" [@sile:willis2021, part 1].
524
-
Note that support for biblibraphies in SILE is an experimental feature, so you may also want to check _The SILE Book_ for more information[@sile, chapter 5].
524
+
With the resilient collection, the most natural way to do this is a "master document" [@sile:willis2021, part 1].
525
+
For more information, you may also want to check _The SILE Book_[@sile, chapter 5].
525
526
526
527
### Symbols
527
528
@@ -895,15 +896,13 @@ In most cases, the content is rendered as verbatim text, with some exceptions de
895
896
Erm... Markdown supports yet another syntax for loosely defined verbatim code blocks, which is the "indented code block" syntax.
896
897
This author would rather not recommend using it, and frow upon the indentation ambiguities it introduces in some cases.
897
898
898
-
::: {custom-style=CodeBlock}
899
-
This is an indented code block.
900
-
:::
899
+
This is a code block.
901
900
902
901
This is obtained by indenting the content by at least four spaces...
903
902
904
903
::: {custom-style=CodeBlock}
905
904
```
906
-
This is an indented code block.
905
+
This is a code block.
907
906
```
908
907
:::
909
908
@@ -1326,15 +1325,15 @@ In SIL documents, you can pass such options to the `\include` command or the `ra
1326
1325
For instance, you can include a Markdown file with shifted headings like this:
1327
1326
1328
1327
::: {custom-style=CodeBlock}
1329
-
```
1328
+
```sil
1330
1329
\include[src=somefile.md, shift_headings=1]
1331
1330
```
1332
1331
:::
1333
1332
1334
1333
For document classes supporting it (in particular, the **resilient** book class), this feature also allows you to access levels above the default scheme, such as "parts".
0 commit comments