mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
47 lines
929 B
Plaintext
47 lines
929 B
Plaintext
## Law text should be able to contain grave accent '`'.
|
|
|
|
This is a block of law text containing `.
|
|
This allows to:
|
|
|
|
* use `Markdown` code block inside `Catala` files,
|
|
|
|
* _escape_ special characters such as `#` or `>`,
|
|
|
|
* use Fenced Code Blocks:
|
|
|
|
```ocaml
|
|
let () = print_endline "Hello world!"
|
|
```
|
|
|
|
```catala
|
|
deklaracja zakres A:
|
|
kontekst wyjście literate_parsing_is_ok typu zerojedynkowy
|
|
|
|
zakres A:
|
|
definicja literate_parsing_is_ok wynosi prawda
|
|
```
|
|
|
|
Even after `Catala` code block:
|
|
|
|
```c
|
|
int main(void) { return 0; }
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret -s A
|
|
[RESULT] Computation successful! Results:
|
|
[RESULT] literate_parsing_is_ok = prawda
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret -s A
|
|
[RESULT] Computation successful! Results:
|
|
[RESULT] literate_parsing_is_ok = prawda
|
|
```
|
|
|
|
```catala-test-inline
|
|
$ catala Interpret -s A
|
|
[RESULT] Computation successful! Results:
|
|
[RESULT] literate_parsing_is_ok = prawda
|
|
```
|