Questions tagged [markdown]
Markdown is a plain text formatting syntax designed so that it can be converted to HTML using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
markdown
8,960
questions
3419
votes
46
answers
2.6m
views
How to add images to README.md on GitHub?
Recently I joined GitHub. I hosted some projects there.
I need to include some images in my README File. I don't know how to do that.
I searched about this, but all I got was some links which tell me ...
2217
votes
25
answers
1.1m
views
Comments in Markdown
How do you write a comment in Markdown, i.e. text that is not rendered in the HTML output? I found nothing on the Markdown project.
1773
votes
39
answers
1.7m
views
Changing image size in Markdown
I just got started with Markdown. I love it, but there is one thing bugging me: How can I change the size of an image using Markdown?
The documentation only gives the following suggestion for an ...
1509
votes
16
answers
1.2m
views
GitHub relative link in Markdown file
Is there a way to create a URL anchor, <a>, link from within a Markdown file, to another file within the same repository and branch (aka a link relative to the current branch)?
For example, in ...
1237
votes
20
answers
808k
views
How to link to part of the same document in Markdown?
I am writing a large Markdown document and would like to place a table of contents of sorts at the beginning that will provide links to various locations in the document. How can I do this?
I tried ...
970
votes
18
answers
870k
views
What file uses .md extension and how should I edit them?
On GitHub, several projects have README.md files. It seems like a simple format file to express text and pictures.
I guess there is an editor or syntax explanation somewhere.
Where can I find an ...
960
votes
21
answers
1.4m
views
How to apply color on text in Markdown
I want to use Markdown to store textual information. But quick googling says Markdown does not support color. Also Stack Overflow does not support color. Same as in case of GitHub markdown.
Is there ...
899
votes
14
answers
910k
views
How to draw checkbox or tick mark in GitHub Markdown table?
I am able to draw checkbox in Github README.md lists using
- [ ] (for unchecked checkbox)
- [x] (for checked checkbox)
But this is not working in table. Does anybody know how to implement checkbox or ...
843
votes
10
answers
628k
views
How to link to a named anchor in Multimarkdown?
I have come across a number of mentions of MultiMarkdown's support for internal links / named anchors but I am unable to find a single example of how to actually do it.
So, what is the syntax for ...
817
votes
22
answers
1.1m
views
How do I display local image in markdown?
Does anyone know how to display a local image in markdown? I don't want to set up a webserver for that.
I try the following in markdown, but it doesn't work:
![image](files/Users/jzhang/Desktop/...
798
votes
24
answers
476k
views
Can I create links with 'target="_blank"' in Markdown?
Is there a way to create a link in Markdown that opens in a new window? If not, what syntax do you recommend to do this? I'll add it to the markdown compiler I use. I think it should be an option.
779
votes
3
answers
87k
views
GitHub satanically messing with Markdown - changes 666 to DCLXVI
My GitHub repository has nothing but a readme in it. In this readme, locally I wrote this:
Factoids:
- There are about six different ways to do everything in Forked.
- There are actually six ...
775
votes
17
answers
318k
views
Markdown: continue numbered list
In the following markdown code I want item 3 to start with list number 3. But because of the code block in between markdown starts this list item as a new list. Is there any way to prevent that ...
737
votes
20
answers
415k
views
How to add screenshot to READMEs in github repository?
Is it possible to place a screenshot in README file in a GitHub repository? What's the syntax?
726
votes
41
answers
780k
views
Markdown to create pages and table of contents? [closed]
I started to use markdown to take notes.
I use marked to view my markdown notes and its beautiful.
But as my notes get longer I find it difficult to find what I want.
I know markdown can create ...
722
votes
16
answers
413k
views
Cross-reference (named anchor) in markdown
Is there markdown syntax for the equivalent of:
Take me to <a href="#pookie">pookie</a>
...
<a name="pookie">this is pookie</a>
692
votes
34
answers
472k
views
View markdown files offline [closed]
Is there a way to display .md files offline so we know what it will look like once it's uploaded in Github? I'm referring to showing the README.md file as it would come out in Github, and not as for ...
646
votes
24
answers
960k
views
How to indent a few lines in Markdown markup?
I want to write a few lines of text. They should be formatted normally except each line should start at the 6th column. I.e. I don't want the code block formatting rule to make this chunk of text look ...
618
votes
4
answers
393k
views
Superscript in markdown (Github flavored)?
Following this lead, I tried this in a Github README.md:
<span style="vertical-align: baseline; position: relative;top: -0.5em;>text in superscript</span>
Does not work, the text ...
598
votes
14
answers
1.3m
views
How to add new line in Markdown presentation?
How to add new line in Markdown presentation?
I mean, something like \newline in TeX.
595
votes
18
answers
526k
views
How do I center an image in the README.md file on GitHub?
I've been looking at the Markdown syntax used in GitHub for a while, but except resizing an image to the width of the README.md page, I can't figure out how to center an image in it.
Is this possible? ...
587
votes
11
answers
680k
views
How to highlight bash/shell commands in markdown?
How can I highlight the Bash/shell commands in Markdown files?
For example, to highlight js, I write:
```js
function () { return "This code is highlighted as Javascript!"}
```
To highlight ...
544
votes
22
answers
487k
views
How to add color to GitHub's README.md file
I have a README.md file for my project underscore-cli, and I want to document the --color flag.
Currently, the only way to do this is with a screenshot (which can be stored in the project repository):
...
520
votes
6
answers
327k
views
How do I add a newline in a markdown table?
I have the following cells in a markdown table:
something
something that's rather long and goes on for a very long time
something else
I'd like to be able to insert a break in the middle line, so ...
484
votes
11
answers
299k
views
How can I embed a YouTube video on GitHub wiki pages?
I am fairly new to markup (though it's extremely easy to pickup). I am working on a package and am trying to get the wiki pages looking nice as a help manual. I can insert a YouTube video link into ...
477
votes
13
answers
372k
views
Is there a way to add an animated GIF to a Markdown file?
I want to add this animated GIF to a GitHub flavored markdown file. If it can't be done in GitHub, is it possible to do it in another version of Markdown?
467
votes
24
answers
141k
views
Is there a command line utility for rendering GitHub flavored Markdown?
I'm wondering if there is a command line utility for taking a GitHub flavored Markdown file and rendering it to HTML.
I'm using a GitHub wiki to create website content. I've cloned the repository on ...
459
votes
5
answers
427k
views
How to markdown nested list items in Bitbucket?
I'm trying to see my markdown nested list items rendered with corresponding indentation when viewed in a browser live from the Bitbucket pages. But I can't figure out how it works even when using ...
454
votes
6
answers
651k
views
New lines inside paragraph in README.md
When editing an issue and clicking Preview the following markdown source:
a
b
c
shows every letter on a new line.
However, it seems to me that pushing similar markdown source structure in README.md ...
453
votes
18
answers
485k
views
How to embed a video into GitHub README.md?
Is it possible to embed a flash video into README.md on GitHub? It isn't showing up: https://github.com/mattdipasquale/PicSciP
452
votes
9
answers
348k
views
Resize image in the wiki of GitHub using Markdown
I'm writing a wiki page on GitHub, and I'm using Markdown.
My problem is that I'm putting a large image (this image is in its own repository) and I need resize it.
I have tried different solutions, ...
416
votes
12
answers
435k
views
Print Directory & File Structure with icons for representation in Markdown [closed]
I want a Linux command to print directory & file structures in the form of a tree, possibly with Unicode icons before each file, and some hint for the best syntax to include the output in a ...
415
votes
9
answers
670k
views
Get underlined text with Markdown
How can I underline text in Markdown?
409
votes
4
answers
319k
views
What is the difference between README and README.md in GitHub projects?
I've noticed some GitHub projects have not only a README file, but also a README.md file.
What is the difference between these files? I know README serves also as introductory text in the project ...
396
votes
18
answers
416k
views
Create two blank lines in Markdown
I am adding Markdown support to my CMS editor.
When writing Markdown content, how do I create two empty lines?
I have been trying, but I always get only one line.
379
votes
14
answers
147k
views
How to add footnotes to GitHub-flavoured Markdown?
I am just trying to add footnotes in my GitHub Gist, but it doesn't work:
Some long sentence. [^footnote]
[^footnote]: Test, [Link](https://google.com).
I am following this guide and I don't think ...
367
votes
18
answers
256k
views
How can I test what my readme.md file will look like before committing to GitHub?
I am writing a readme for my GitHub project in the .md format. Is there a way can I test what my readme.md file will look like before committing to GitHub?
304
votes
9
answers
269k
views
How to write lists inside a markdown table?
Can one create a list (bullets, numbered or not) inside a markdown table.
A table looks like this:
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is ...
301
votes
22
answers
309k
views
Markdown and including multiple files
Is there any markdown fork that allows you to reference other files, something like an includes file? Specifically, I want to create a separate markdown file with links that I call often but not ...
294
votes
15
answers
542k
views
Markdown `native` text alignment
Does markdown support native text-alignment without usage html + css?
293
votes
16
answers
418k
views
How can I create a text box for a note in markdown?
I am writing a document in markdown. I am using the wonderful pandoc to create docx and tex files from the markdown source. I would like to have a textbox for tips and notes to readers the way ...
288
votes
4
answers
346k
views
How to style a JSON block in Github Wiki?
Is there a way to nicely format/style JSON code in Github Wiki (i.e Markdown preferred)?
Something like this with few colors (or bold) and correct indentation:
http://www.freeformatter.com/json-...
288
votes
6
answers
125k
views
Markdown vs markup - are they related? [closed]
I'm using markdown to edit this question right now. In some wikis I used wiki markup. Are they the same thing? Are they related? Please explain. If I want to implement one or the other in a web ...
280
votes
3
answers
114k
views
Diff syntax highlighting in Github Markdown
I'm writing documents that should explain code in C# using Markdown.
I use the ```csharp to get csharp highlighting.
I sometimes want to highlight something specific in the code using bold or ...
274
votes
3
answers
169k
views
Set margin size when converting from Markdown to PDF with pandoc
I have created an RMarkdown file in RStudio and managed to knit it with knitr into an HTML and .md file. Next, I used pandoc to convert the .md file into a PDF file (I get an error if I try and ...
272
votes
14
answers
250k
views
Create a table without a header in Markdown
Is it possible to create a table without a header in Markdown?
The HTML would look like this:
<table>
<tr>
<td>Key 1</td>
<td>Value 1</td>
</tr>
<...
271
votes
20
answers
343k
views
Markdown and image alignment
I am making a site that publishes articles in issues each month. It is straightforward, and I think using a Markdown editor (like the WMD one here in Stack Overflow) would be perfect.
However, ...
267
votes
16
answers
241k
views
Using an image caption in Markdown Jekyll
I am hosting a Jekyll Blog on Github and write my posts with Markdown. When I am adding images, I do it the following way:
![name of the image](http://link.com/image.jpg)
This then shows the image ...
260
votes
12
answers
73k
views
Using Sphinx with Markdown instead of reST
I hate reST but love Sphinx. Is there a way that Sphinx reads Markdown instead of reStructuredText?
258
votes
10
answers
229k
views
Include an SVG (hosted on GitHub) in MarkDown
I know that an image can be placed in an MD with the MD syntax of either ![Alt text](/path/to/img.jpg) or ![Alt text](/path/to/img.jpg "Optional title"), but I am having difficulty placing ...