Using Github Markdown: How to get literal Pipe into a table [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
How to escape a pipe char in a code statement in a markdown table?
3 answers
I am producing a cheat sheet using Unix commands and markdown. When I use a pipe in a Unix command I get an extra column. I can't seem to find the character to give a literal |
. The pipe between ls
and wc
gives 4 columns.
Example:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Tried: backslash, forward slash, single backtick, triple backtick, surround it with 2 spaces, **,<code> </code>
,
github-flavored-markdown
marked as duplicate by Chris, Community♦ Nov 19 at 16:08
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
0
down vote
favorite
This question already has an answer here:
How to escape a pipe char in a code statement in a markdown table?
3 answers
I am producing a cheat sheet using Unix commands and markdown. When I use a pipe in a Unix command I get an extra column. I can't seem to find the character to give a literal |
. The pipe between ls
and wc
gives 4 columns.
Example:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Tried: backslash, forward slash, single backtick, triple backtick, surround it with 2 spaces, **,<code> </code>
,
github-flavored-markdown
marked as duplicate by Chris, Community♦ Nov 19 at 16:08
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
How to escape a pipe char in a code statement in a markdown table?
3 answers
I am producing a cheat sheet using Unix commands and markdown. When I use a pipe in a Unix command I get an extra column. I can't seem to find the character to give a literal |
. The pipe between ls
and wc
gives 4 columns.
Example:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Tried: backslash, forward slash, single backtick, triple backtick, surround it with 2 spaces, **,<code> </code>
,
github-flavored-markdown
This question already has an answer here:
How to escape a pipe char in a code statement in a markdown table?
3 answers
I am producing a cheat sheet using Unix commands and markdown. When I use a pipe in a Unix command I get an extra column. I can't seem to find the character to give a literal |
. The pipe between ls
and wc
gives 4 columns.
Example:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Tried: backslash, forward slash, single backtick, triple backtick, surround it with 2 spaces, **,<code> </code>
,
This question already has an answer here:
How to escape a pipe char in a code statement in a markdown table?
3 answers
github-flavored-markdown
github-flavored-markdown
asked Nov 11 at 20:48
oaxacamatt
4091721
4091721
marked as duplicate by Chris, Community♦ Nov 19 at 16:08
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Chris, Community♦ Nov 19 at 16:08
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
adding backslash works:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
adding backslash works:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
add a comment |
up vote
1
down vote
accepted
adding backslash works:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
adding backslash works:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
adding backslash works:
| # | Command | Description |
|:--|:--------|:------------|
| 1. | ls | wc –l | count number of files in a directory. |
answered Nov 11 at 21:27
scinart
36516
36516
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
add a comment |
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
Thanks, I tried that and for some reason it does not work on Atom editor.
– oaxacamatt
Nov 11 at 23:58
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
It works on github, see github.github.com/gfm/#backslash-escapes. I believe it is Atom's fault not to show it properly.
– scinart
Nov 12 at 1:40
add a comment |