Skip to content

Instantly share code, notes, and snippets.

@m00nlight
Created January 29, 2016 08:48
Show Gist options
  • Save m00nlight/8e3e12204bcbf4a94d78 to your computer and use it in GitHub Desktop.
Save m00nlight/8e3e12204bcbf4a94d78 to your computer and use it in GitHub Desktop.
test for markdown

Input

#+begin_src

.NET Data type F# Declaration
Int let i = 0 or let i = 0l
Uint let i = 1u or let i = 1ul
Decimal let d = 1m or let d = 1M
Short let c = 2s
Long let l = 5L
unsigned short let c = 6us
unsigned long let d = 7UL
byte let by = 86y or let by = 'a'B
signed byte let sby = 86uy
bool let b = true
double let d = 0.2
float let f = 0.3f
naive int let n = 4n
unsigned naive int let n = 4un
char let c = 'a'
string let str = "packet"
big int let i = 9I
#+end_src

becomes

.NET Data type F# Declaration
Int let i = 0 or let i = 0l
Uint let i = 1u or let i = 1ul
Decimal let d = 1m or let d = 1M
Short let c = 2s
Long let l = 5L
unsigned short let c = 6us
unsigned long let d = 7UL
byte let by = 86y or let by = 'a'B
signed byte let sby = 86uy
bool let b = true
double let d = 0.2
float let f = 0.3f
naive int let n = 4n
unsigned naive int let n = 4un
char let c = 'a'
string let str = "packet"
big int let i = 9I

And also this input:

#+begin_src | .NET Data type | F# Declaration | | Int | let i = 0 or let i = 0l | | Uint | let i = 1u or let i = 1ul | | Decimal | let d = 1m or let d = 1M | | Short | let c = 2s | | Long | let l = 5L | | unsigned short | let c = 6us | | unsigned long | let d = 7UL | | byte | let by = 86y or let by = 'a'B | | signed byte | let sby = 86uy | | bool | let b = true | | double | let d = 0.2 | | float | let f = 0.3f | | naive int | let n = 4n | | unsigned naive int | let n = 4un | | char | let c = 'a' | | string | let str = "packet" | | big int | let i = 9I | #+end_src

becomes

| .NET Data type | F# Declaration | | Int | let i = 0 or let i = 0l | | Uint | let i = 1u or let i = 1ul | | Decimal | let d = 1m or let d = 1M | | Short | let c = 2s | | Long | let l = 5L | | unsigned short | let c = 6us | | unsigned long | let d = 7UL | | byte | let by = 86y or let by = 'a'B | | signed byte | let sby = 86uy | | bool | let b = true | | double | let d = 0.2 | | float | let f = 0.3f | | naive int | let n = 4n | | unsigned naive int | let n = 4un | | char | let c = 'a' | | string | let str = "packet" | | big int | let i = 9I |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment