Gimp-Forum.net
Introducing "inline code" - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: Other topics (https://www.gimp-forum.net/Forum-Other-topics)
+--- Forum: Gimp-Forum.net (https://www.gimp-forum.net/Forum-Gimp-Forum-net)
+--- Thread: Introducing "inline code" (/Thread-Introducing-inline-code)



Introducing "inline code" - Ofnuts - 02-04-2018

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...


RE: Introducing "inline code" - Ofnuts - 02-04-2018

(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?

[attachment=1421]


RE: Introducing "inline code" - rich2005 - 02-05-2018

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

[Image: oh0fxXC.jpg]


RE: Introducing "inline code" - Ofnuts - 02-05-2018

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>



RE: Introducing "inline code" - rich2005 - 02-05-2018

(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.


RE: Introducing "inline code" - trandoductin - 02-07-2018

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