HISE Logo Forum
    • Categories
    • Register
    • Login

    How to set markdown renderer alignment?

    Scheduled Pinned Locked Moved Scripting
    7 Posts 2 Posters 226 Views
    Loading More Posts
    • 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.
    • d.healeyD
      d.healey
      last edited by

      How do I set the text alignment?

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      Dan KorneffD 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @d.healey
        last edited by

        @d-healey Text alignment isn't supported by markdown language.

        Dan Korneff - Producer / Mixer / Audio Nerd

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Dan Korneff
          last edited by

          @Dan-Korneff Sure, but this is the HISE version of markdown.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Dan KorneffD 1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by

            @d-healey I believe HISE uses a feature-reduced version of native markdown. You would have to create a custom CSS class and display it with HTML.

            Dan Korneff - Producer / Mixer / Audio Nerd

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Dan Korneff
              last edited by

              @Dan-Korneff I don't think CSS/HTML is possible in HISE. I'm not sure how Markdown is implemented in HISE but hopefully Christoph can point me in the right direction.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @d.healey
                last edited by Dan Korneff

                @d-healey
                There may be a hack to center text.

                If your Markdown processor supports HTML, you can place these tags around whatever text you want to center align.
                

                https://www.markdownguide.org/hacks/#center
                Also:

                Alignment
                
                You can align text in the columns to the left, right, or center by adding a colon (:) to the left, right, or on both side of the hyphens within the header row.
                

                Maybe you can put your text into a cell, align how you would like, then hide the cell lines?

                Dan Korneff - Producer / Mixer / Audio Nerd

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Dan Korneff
                  last edited by

                  @Dan-Korneff I don't think any of this is possible with HISE

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  13

                  Online

                  1.8k

                  Users

                  12.1k

                  Topics

                  104.9k

                  Posts