Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Introducing "inline code"
#1
I have a thing for the "inline code" in markdown. So I have added it equivalen on gimp-forum.net. Text surrounded with backticks is:
  • shown in a fixed size font
  • included in a box, like this
Code:
like `this`

I find it nice to distinguish what should be entered/used: Open the file with File>Open as layers...
Reply
#2
(02-04-2018, 12:31 PM)Ofnuts Wrote: I have a thing for the "inline code" in markdown. So I have added it equivalen on gimp-forum.net. Text surrounded with backticks is:
  • shown in a fixed size font
  • included in a box, like this
Code:
like `this`

I find it nice to distinguish what should be entered/used: Open the file with File>Open as layers...

Looks like inline code is a big bigger than the regular text for me despite no font-size defined in the style. How is it for you?

   
Reply
#3
Same here: Is there a different style being enforced? Looks similar weight to the heading.

[Image: oh0fxXC.jpg]
Reply
#4
No, technically it does:
Code:
<span style="border-style: solid; border-width: thin;  border-radius: 3px; padding-left: 5px; padding-right: 5px; font-weight: bold; font-family:Monospace; ">$1</span>

so no change in size. I've now reduced the font size a bit. Also removed the boldness. Is it better? It should now look like this.

Complete formula is now:
Code:
<span style="border-style: solid; border-color:#808080; border-width: thin;  border-radius: 3px; padding-left: 3px; padding-right: 3px; font-size: 90%; font-family:Monospace; ">$1</span>
Reply
#5
(02-05-2018, 10:06 AM)Ofnuts Wrote: so no change in size. I've now reduced the font size a bit. Also removed the boldness. Is it better? It should now look like this.

Looks good to me.
Reply
#6
what a genius idea. I see if i can make my phpbb forum do this as well. Big Grin

no way to do single reverse quote like you do .... but i had to use a bbcode syntax oh well
Reply


Forum Jump: