Skip to content

Instantly share code, notes, and snippets.

@ozh
Created May 14, 2020 16:30
Show Gist options
  • Save ozh/e0f0bab605982d9ace0ab79af1c50d2a to your computer and use it in GitHub Desktop.
Save ozh/e0f0bab605982d9ace0ab79af1c50d2a to your computer and use it in GitHub Desktop.
Image border in markdown

Image in markdown: no style possible

![alt-text](https://raw.githubusercontent.com/YOURLS/YOURLS/1.7.9/images/yourls-logo.png)

alt-text

IMG tag accepts no style

<img src="https://raw.githubusercontent.com/YOURLS/YOURLS/1.7.9/images/yourls-logo.png" border="1px solid red"/>

Alternative: <img> tag surrounded by <kbd>

<kbd> <img src="https://raw.githubusercontent.com/YOURLS/YOURLS/1.7.9/images/yourls-logo.png" /> </kbd>

Neat ! :-) (source)

@martin-braun
Copy link

What a funny hacky way of doing this. Why can't they simply give as anything to make this trivia...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment