Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. allow ' (apostrophe) instead of ` (grave accent) for code start and end tag characters
Forum Updated to NodeBB v4.3 + New Features

allow ' (apostrophe) instead of ` (grave accent) for code start and end tag characters

Scheduled Pinned Locked Moved Qt.io webservices
8 Posts 3 Posters 2.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T3STYT Offline
    T3STYT Offline
    T3STY
    wrote on last edited by T3STY
    #1

    The editor markdown tags specifies the grave accent character for code blocks/snippets, this:

    `

    (unicode should be U+0060, as I found in the windows charmap)
    Unfortunately, Italian and italian-like keyboards do not provide it by default. They instead provide the apostrophe character:

    '

    (unicode should be U+0027, as I found in the windows charmap)

    Can you please make the forum accept the apostrophes for code blocks/snippets?

    1 Reply Last reply
    0
    • tekojoT Offline
      tekojoT Offline
      tekojo
      wrote on last edited by
      #2

      That is a problem. We'll look into how to do that.

      You can also denote code blocks by adding four spaces in front the code lines. Not as simple, but does the same thing.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mcosta
        wrote on last edited by
        #3

        Hi,

        IIRC on Windows and Italian keyboard (I'm Italian too) you can print ` pressing Alt+096

        Sorry I cannot try because now I'm on a Mac with US keyboard

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply
        0
        • T3STYT Offline
          T3STYT Offline
          T3STY
          wrote on last edited by
          #4

          @tekojo Thank you for your support! I've been using spaces up to now, but it's getting very difficult if you have large chunks of code.

          @mcosta Yes, but you may agree with me that this is not as immediate as a key press :D I could also simply do a copy-paste from the description on the right (or down) side of the forum where there are those characters, but if they can make it work nicely with apostrophes then it will be better for lazy people (me :D).

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mcosta
            wrote on last edited by
            #5

            @T3STY Agree, but IIUC the forum uses a standard Markdown parser so is not easy to change this behaviour

            Once your problem is solved don't forget to:

            • Mark the thread as SOLVED using the Topic Tool menu
            • Vote up the answer(s) that helped you to solve the issue

            You can embed images using (http://imgur.com/) or (http://postimage.org/)

            1 Reply Last reply
            0
            • T3STYT Offline
              T3STYT Offline
              T3STY
              wrote on last edited by
              #6

              Guys, if it's too much work (or if this might break something else) then I won't get offended if you won't implement this! I can live without it ;)

              1 Reply Last reply
              0
              • tekojoT Offline
                tekojoT Offline
                tekojo
                wrote on last edited by
                #7

                There is a plugin that adds quite a lot of the markdown codes to the quick links, but the next update apparently breaks it, so I'll wait a for that before adding it.

                1 Reply Last reply
                0
                • T3STYT Offline
                  T3STYT Offline
                  T3STY
                  wrote on last edited by
                  #8

                  Just a small suggestion, probably it would be easy enough to implement... could you make the forum automatically replace three apostrophes with 3 grave accent chars? I guess it would be easier than making the thread parser recognize new markups..? just my 0.02€ :)

                  Thank you again and if you'll eventually implement it just let me (us) know so we can use the new feature ;)

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved