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

How to add screenshot to READMEs in github repository?

If you use Markdown (README.md): Provided that you have the image in your repo, you can use a relative URL: ![Alt text](/relative/path/to/img.jpg?raw=true “Optional Title”) If you need to embed an image that’s hosted elsewhere, you can use a full URL ![Alt text](http://full/path/to/img.jpg “Optional title”) GitHub recommend that you use relative links with the ?raw=true parameter … Read more

How to apply color on text in Markdown

TL;DR Markdown doesn’t support color but you can inline HTML inside Markdown, e.g.: <span style=”color:blue”>some *blue* text</span>. Longer answer As the original/official syntax rules state (emphasis added): Markdown’s syntax is intended for one purpose: to be used as a format for writing for the web. Markdown is not a replacement for HTML, or even close … Read more

GitHub satanically messing with Markdown – changes 666 to DCLXVI

This seems to be followed by github/markup issue 991, where on ordered sub-list, decimal numerals automatically turns into roman numerals. I have found the cause of problem. It is CSS This is the expected way for nested ordered lists to render in HTML. This is not expected in HTML. https://jsfiddle.net/tf5jtv8s We don’t make any modifications … Read more

GitHub relative link in Markdown file

Update 30th, January 2013, 16 months later: GitHub Blog Post Relative links in markup files: Starting today, GitHub supports relative links in markup files. Now you can link directly between different documentation files, whether you view the documentation on GitHub itself, or locally, using a different markup renderer. You want examples of link definitions and … 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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)