github.com/charmbracelet/glamour@v0.7.0/testdata/example.md (about)

     1  Glamour
     2  =======
     3  
     4  A casual introduction. 你好世界!
     5  
     6  ## Let’s talk about artichokes
     7  
     8  The _artichoke_ is mentioned as a garden plant in the 8th century BC by Homer
     9  **and** Hesiod. The naturally occurring variant of the artichoke, the cardoon,
    10  which is native to the Mediterranean area, also has records of use as a food
    11  among the ancient Greeks and Romans. Pliny the Elder mentioned growing of
    12  _carduus_ in Carthage and Cordoba.
    13  
    14  > He holds him with a skinny hand,
    15  > ‘There was a ship,’ quoth he.
    16  > ‘Hold off! unhand me, grey-beard loon!’
    17  > An artichoke, dropt he.
    18  
    19  --Samuel Taylor Coleridge, [The Rime of the Ancient Mariner][rime]
    20  
    21  [rime]: https://poetryfoundation.org/poems/43997/
    22  
    23  ## Other foods worth mentioning
    24  
    25  1. Carrots
    26  1. Celery
    27  1. Tacos
    28      * Soft
    29      * Hard
    30  1. Cucumber
    31  
    32  ## Things to eat today
    33  
    34  * [x] Carrots
    35  * [x] Ramen
    36  * [ ] Currywurst
    37  
    38  ### Power levels of the aforementioned foods
    39  
    40  | Name       | Power | Comment          |
    41  | ---        | ---   | ---              |
    42  | Carrots    | 9001  | It’s over 9000?! |
    43  | Ramen      | 9002  | Also over 9000?! |
    44  | Currywurst | 10000 | What?!           |
    45  
    46  ## Currying Artichokes
    47  
    48  Here’s a bit of code in [Haskell](https://haskell.org), because we are fancy.
    49  Remember that to compile Haskell you’ll need `ghc`.
    50  
    51  ```haskell
    52  module Main where
    53  
    54  import Data.Function ( (&) )
    55  import Data.List ( intercalculate )
    56  
    57  hello :: String -> String
    58  hello s =
    59      "Hello, " ++ s ++ "."
    60  
    61  main :: IO ()
    62  main =
    63      map hello [ "artichoke", "alcachofa" ] & intercalculate "\n" & putStrLn
    64  ```
    65  
    66  ***
    67  
    68  _Alcachofa_, if you were wondering, is artichoke in Spanish.