2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-08 19:10:41 +00:00
bat/tests/syntax-tests/source/orgmode/test.org
2020-10-29 19:21:46 +01:00

677 B

This is header

sub header

sub sub header

sub sub sub header

Table representation

Name Age
Milli 23
Vanilli 22

Spreadsheets

n n + 2 n ^ 2
1 3 1
2 4 4
3 5 9

Source Code

  # recursive fibonacci
  fn fib(n: u32) -> u32 {
    match n {
      0 | 1 => 1,
      _ => fib(n - 1) + fib(n - 2),
    }
  }

ToDo and Checkboxes Example

DONE Write source example

TODO Generate highlighted example [1/3]

  • run update script
  • get code review
  • merge into master