How to add color to GitHub’s README.md file

One way to add color to a README is by utilising a service that provides placeholder images. For example this Markdown can be used: – ![#f03c15](https://via.placeholder.com/15/f03c15/f03c15.png) `#f03c15` – ![#c5f015](https://via.placeholder.com/15/c5f015/c5f015.png) `#c5f015` – ![#1589F0](https://via.placeholder.com/15/1589F0/1589F0.png) `#1589F0` To create a list of any colors you like: #f03c15 #c5f015 #1589F0

Markdown and including multiple files

The short answer is no. The long answer is yes. 🙂 Markdown was designed to allow people to write simple, readable text that could be easily converted to a simple HTML markup. It doesn’t really do document layout. For example, there’s no real way to align an image to the right or left. As to … Read more

Can I create links with ‘target=”_blank”‘ in Markdown?

As far as the Markdown syntax is concerned, if you want to get that detailed, you’ll just have to use HTML. <a href=”http://example.com/” target=”_blank”>Hello, world!</a> Most Markdown engines I’ve seen allow plain old HTML, just for situations like this where a generic text markup system just won’t cut it. (The StackOverflow engine, for example.) They … Read more

Changing image size in Markdown

You could just use some HTML in your Markdown: <img src=”https://stackoverflow.com/questions/14675913/drawing.jpg” alt=”drawing” width=”200″/> Or via style attribute (not supported by GitHub) <img src=”https://stackoverflow.com/questions/14675913/drawing.jpg” alt=”drawing” style=”width:200px;”/> Or you could use a custom CSS file as described in this answer on Markdown and image alignment ![drawing](drawing.jpg) CSS in another file: img[alt=drawing] { width: 200px; }

Comments in Markdown

I believe that all the previously proposed solutions (apart from those that require specific implementations) result in the comments being included in the output HTML, even if they are not displayed. If you want a comment that is strictly for yourself (readers of the converted document should not be able to see it, even with … Read more