-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Flavored Markdown Examples #1
Comments
I want this in php!!! |
Easy enough. Here's the Ruby code that we use. It should be simple to port to PHP. |
Looks like the arrows/math example doesn't work. |
Oh, therefore HTML (a subset?) seems to be supported in comments ;-) |
Sorry my fault, I wasn't aware that Markdown also supports regular HTML tags. |
Doesn't seem to parse valgrind reports very well, eg. http://github.com/facebook/hiphop-php/issues/#issue/50 a bit down. Nor gdb tracebacks for that matter. |
a^2 works for me, but not -> Fedora 12, FF 3.5.11 |
Yeah, arrows don't work. |
any chance on images? Being able to upload a screenshot in an issue tracker is quite useful |
I like this feeling...
OK
|
B I _BI_ What is this? xxx is same as xxx? |
And this is ? |
Something seems to be wrong with the ASCII art example; I think it's coming out as code but not pre. |
[testing] |
teste |
Isn't the above rendering pretty much broken? |
This Api's Tester |
Given that this page is offered as the primary example linked from the GitHub Flavored Markdown page, it would be great if it rendered correctly. So thanks to the wonderful fact that comments themselves use this very markdown, I've included a c&p of the corresponding referenced source (with the exception of the following minor fix, Begin Example Source of Corrected
|
ID | Name | Rank |
---|---|---|
1 | Tom Preston-Werner | Awesome |
2 | Albert Einstein | Nearly as awesome |
Crazy linking action
I get 10 times more traffic from Google than from
Yahoo or MSN.
The table feature seems to be broken. At least the tables here do not work: I'll test some things here:
|
|
Nope, completely broken. |
Last try:
|
Or do all | s need to be in one line?
|
https://github.com/FichteFoll/sublimetext-insertdate/blob/master/README.md Seems to be similar to the "MultiMarkDown" thing but I'm not sure about that and it just works. The alignments do not, apparently (the Edit: Plugin for Sublime Tex 2. |
Ok, then let me try this here:
... interestingly it shows the exact same problems as the
laviole
referenced
this issue
in expanse-org/go-expanse
Dockerfile tries to copy `geth` but it should copy `gexp` instead
4 tasks
4 tasks
5 tasks
2 tasks
3 tasks
This was referenced
3 tasks
Vascosantunes
referenced
this issue
in carloslobo-Web/meu-blog
nguyenvanbic123
added a commit
to nguyenvanbic123/804955
that referenced
this issue
HÆ°á»ng dẫn video GitHub Trợ giúpBiá»u trÆ°ng của GitHub Guides Là m chủ Markdown 3 phút Äá»c Tải xuá»ng phiên bản PDF Markdown là má»t cú pháp nhẹ và dá» sá» dụng Äá» tạo kiá»u cho tất cả các dạng vÄn bản trên ná»n tảng GitHub. Những gì bạn sẽ há»c: Cách Äá»nh dạng Markdown giúp chá»nh sá»a cá»ng tác theo kiá»u dá» dà ng Markdown khác vá»i các cách tiếp cáºn Äá»nh dạng truyá»n thá»ng nhÆ° thế nà o Cách sá» dụng Markdown Äá» Äá»nh dạng vÄn bản Cách táºn dụng kết xuất Markdown tá»± Äá»ng của GitHub Cách áp dụng các tiá»n Ãch má» rá»ng Markdown Äá»c Äáo của GitHub Markdown là gì? Markdown là má»t cách Äá» tạo kiá»u cho vÄn bản trên web. Bạn kiá»m soát viá»c hiá»n thá» tà i liá»u; Äá»nh dạng từ in Äáºm hoặc nghiêng, thêm hình ảnh và tạo danh sách chá» là má»t và i trong sá» những viá»c chúng ta có thá» là m vá»i Markdown. Hầu hết, Markdown chá» là vÄn bản thông thÆ°á»ng vá»i má»t và i ký tá»± không phải chữ cái Äược ÄÆ°a và o, nhÆ° #hoặc *. Bạn có thá» sá» dụng Markdown hầu hết các Äá»a Äiá»m xung quanh GitHub: Gists Nháºn xét trong vấn Äá» và yêu cầu kéo Tá»p có phần má» rá»ng .mdhoặc.markdown Äá» biết thêm thông tin, hãy xem â Viết trên GitHub â trong Trợ giúp GitHub . Các và dụ Chữ Danh sách Hình ảnh Tiêu Äá» & TrÃch dẫn Mã sá» Bá» sung Tháºt dá» dà ng Äá» tạo má»t sá» từ ** in Äáºm ** và các từ khác * nghiêng * vá»i Markdown. Bạn tháºm chà có thá» [liên kết tá»i Google!] (Http://google.com) Rất dá» dà ng Äá» là m cho má»t sá» từ in Äáºm và những từ khác nghiêng vá»i Markdown. Bạn tháºm chà có thá» liên kết vá»i Google! HÆ°á»ng dẫn cú pháp DÆ°á»i Äây là tá»ng quan vá» cú pháp Markdown mà bạn có thá» sá» dụng á» má»i nÆ¡i trên GitHub.com hoặc trong các tá»p vÄn bản của riêng bạn. Tiêu Äá» # This is an
4 tasks
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You canât perform that action at this time.
|
GitHub Flavored Markdown
View the source of this content.
Let's get the whole "linebreak" thing out of the way. The next paragraph contains two phrases separated by a single newline character:
Roses are red
Violets are blue
The next paragraph has the same phrases, but now they are separated by two spaces and a newline character:
Roses are red
Violets are blue
Oh, and one thing I cannot stand is the mangling of words with multiple underscores in them like perform_complicated_task or do_this_and_do_that_and_another_thing.
A bit of the GitHub spice
In addition to the changes in the previous section, certain references are auto-linked:
These are dangerous goodies though, and we need to make sure email addresses don't get mangled:
My email addy is tom@github.com.
Math is hard, let's go shopping
In first grade I learned that 5 > 3 and 2 < 7. Maybe some arrows. 1 -> 2 -> 3. 9 <- 8 <- 7.
Triangles man! a^2 + b^2 = c^2
We all like making lists
The above header should be an H2 tag. Now, for a list of fruits:
Let's get crazy:
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
2. Suspendisse id sem consectetuer libero luctus adipiscing.
What about some code in a list? That's insane, right?
In Ruby you can map like this:
In Rails, you can do a shortcut:
Some people seem to like definition lists
I am a robot
Maybe you want to print
robot
to the console 1000 times. Why not?You see, that was formatted as code because it's been indented by four spaces.
How about we throw some angle braces and ampersands in there?
Set in stone
Preformatted blocks are useful for ASCII art:
Playing the blame game
If you need to blame someone, the best way to do so is by quoting them:
Or perhaps someone a little less eloquent:
Table for two
Crazy linking action
I get 10 times more traffic from Google than from
Yahoo or MSN.
Also, shoop.
The text was updated successfully, but these errors were encountered: