문제

What's the easy way to type wiki document in Github with header and table? Here is what annoying to me:

  1. If I use Markdown, I have to use <table>.

  2. If I use Textile, there is no # or ## for header

I like the |col1|col2| syntax though.

What people use for this scenario? Without lots of typing / cut and paste (for <table> as example).

도움이 되었습니까?

해결책

As can be seen, it is surely possible.

dog | bird | cat
----|------|----
foo | foo  | foo
bar | bar  | bar
baz | baz  | baz

(this is using GitHub's "Markdown" Edit mode)

다른 팁

If you want to force a particular alignment of the cells, you can do the following, where I have left-justified the first column, centered the middle column, and right-justified the last column:

dog | bird | cat
:-- | :--: | --:
foo | foo  | foo
bar | bar  | bar
baz | baz  | baz
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top