Instagram badge

To show HTML, you have a couple of options. One is to type four tildes in a row on a single line by themselves, then a return, then any amount of code, and then another line with four tildes.

<a href="https://instagram.com/NAME?ref=badge"><img src="https://badges.instagram.com/static/images/ig-badge-32.png" alt="Instagram" /></a>

You can also indent each line by four spaces, and that also makes a code block, but it’s not as predictable for all kinds of code.

~~~~
<a href="https://instagram.com/NAME?ref=badge"><img src="https://badges.instagram.com/static/images/ig-badge-32.png" alt="Instagram" /></a>
~~~~

There, I did it to show what the tildes look like when you are pasting in a block of code.

If you have a few words of code that you want to set off from the rest of a line of text, you can use the back-tick character ( ` ) on either side of the word or words. The back-tick must touch the words it is denoting, there cannot be any spaces between the word or words and the back-tick on either side. Again, using the spaces trick, heres what that would look like:

`these words will be marked as code`

Or in a sentence: these words will be marked as code, but the rest will not.

This is all using Markdown syntax, with the PHP Markdown Extra plugin from Michel Fortin. Read more about Markdown at John Gruber’s site.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at: