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
It is now possible within a LiaScript Markdown to apply sequences of dashes for typography. A sequence of dashes is now translated into:
656
+
657
+
1. single dash `-` --> Hyphen or minus sign -
658
+
2. double dash `--` --> En dash --
659
+
3. triple dash `---` --> Em dash ---
660
+
661
+
--{{1}}--
662
+
An Ellipsis is indicated by a sequence of three dots:
663
+
664
+
{{1}}
665
+
`...` will be translated to the Unicode symbol ...
666
+
667
+
##### Quotes
668
+
669
+
--{{0}}--
670
+
Additionally single and double quotes are translated into their typographical counterparts, based on the defined [`language`](#language) in the header of the course.
671
+
German, French, English or Welsh will be translated into different Unicode symbols.
672
+
673
+
<!-- style="font-size: 20px" -->
674
+
`"That's a 'magic' shoe."` --> “That’s a ‘magic’ shoe.”
675
+
676
+
Applied quote translation as defined here: https://en.wikipedia.org/wiki/Quotation_mark
677
+
678
+
--{{1}}--
679
+
If you want o use the original characters, you will have to escape them, as shown also in the [next section](#escape-characters):
680
+
681
+
{{1}}
682
+
`\"` --> \"\
683
+
`\'` --> \'
684
+
685
+
{{2}}
686
+
<section>
687
+
688
+
--{{2}}--
689
+
As an alternative you can still use the quote tag `<q>` for double quotations.
690
+
This will still use the language definition for that document, but you can also overwrite this per markdown block or quote:
691
+
692
+
```markdown
693
+
<q>That's a 'magic' shoe.</q>\
694
+
<q lang="de">Das ist ein magischer Schuh.</q>
695
+
696
+
---
697
+
698
+
<!-- lang="fr" -->
699
+
Et voici un autre exemple: <q>C'est une chaussure magique.</q>
700
+
```
701
+
702
+
<q>That's a 'magic' shoe.</q>\
703
+
<qlang="de">Das ist ein magischer Schuh.</q>
704
+
705
+
---
706
+
707
+
<!-- lang="fr" -->
708
+
Et voici un autre exemple: <q>C'est une chaussure magique.</q>
709
+
710
+
</section>
711
+
652
712
#### Escape Characters
653
713
654
714
--{{0}}--
@@ -662,10 +722,10 @@ escaping only to prevent misunderstandings between you and the interpreter.
0 commit comments