1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-26 12:42:30 +03:00
guide/static/markdown.md
2016-05-02 21:27:49 +03:00

1.2 KiB

Markdown

Markdown is supported in most places; inline Markdown in pros/cons (i.e. you can't create lists, paragraphs, etc) and ordinary Markdown elsewhere. If you haven't written Markdown before, see this reference.

Custom features

You can write [pkg](@hk) to get a link to package pkg on Hackage (the full list of shortcuts is here).

If you mark snippets of code with repl (to show that they come from GHCi), they will display differently:

~~~ hs repl
> 2+2
4
~~~
> 2+2
4

If something doesn't come from GHCi, but is still Haskell code, use hs or haskell (other languages are supported too):

~~~ hs
t :: Bool
t = True
~~~
t :: Bool
t = True