How do I put YAML code in GitHub MarkDown?
Posted
by
rutherford
on Programmers
See other posts from Programmers
or by rutherford
Published on 2012-10-28T16:15:25Z
Indexed on
2012/10/28
17:16 UTC
Read the original article
Hit count: 193
github
Following YAML snippet that I'm trying to place in my markdown formatted readme:
```
libraries:
- name: numpy
version: "1.6.1"
```
Tried the above with both no and 2 trailing spaces at the end of each line. Both turn out on a single line. Obviously I want them on 3 separate lines in my README.md.
How?
edit: note tried adding 'yaml' as the optional lang parameter but no dice either.
© Programmers or respective owner