Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. Technical Discussion
  3. How many Fediverse software use Markdown as its default text format — rather than HTML?

How many Fediverse software use Markdown as its default text format — rather than HTML?

Scheduled Pinned Locked Moved Technical Discussion
fedidevfedidevsfediversemarkdown
14 Posts 11 Posters 7 Views
  • 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.
  • reiver@mastodon.socialR reiver@mastodon.social

    How many Fediverse software use Markdown as its default text format — rather than HTML?

    I think both PeerTube and Lemmy are Markdown native — rather than HTML.

    Anything else?

    #FediDev #FediDevs #Fediverse #Markdown

    jaredwhite@indieweb.socialJ This user is from outside of this forum
    jaredwhite@indieweb.socialJ This user is from outside of this forum
    jaredwhite@indieweb.social
    wrote on last edited by
    #4

    @reiver Also PieFed I believe, as a Lemmy-inspired and somewhat compatible software

    1 Reply Last reply
    0
    • reiver@mastodon.socialR reiver@mastodon.social

      How many Fediverse software use Markdown as its default text format — rather than HTML?

      I think both PeerTube and Lemmy are Markdown native — rather than HTML.

      Anything else?

      #FediDev #FediDevs #Fediverse #Markdown

      aslakr@mastodon.socialA This user is from outside of this forum
      aslakr@mastodon.socialA This user is from outside of this forum
      aslakr@mastodon.social
      wrote on last edited by
      #5

      @reiver Do they support inlining html in markdown as designed https://daringfireball.net/projects/markdown/syntax#html ?

      reiver@mastodon.socialR 1 Reply Last reply
      0
      • aslakr@mastodon.socialA aslakr@mastodon.social

        @reiver Do they support inlining html in markdown as designed https://daringfireball.net/projects/markdown/syntax#html ?

        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.social
        wrote on last edited by
        #6

        @aslakr

        That is a good question — but, I'm not sure.

        1 Reply Last reply
        0
        • ? Guest
          #Hubzilla and #streams both have it. #forte as well.
          chris@im.allmendenetz.deC This user is from outside of this forum
          chris@im.allmendenetz.deC This user is from outside of this forum
          chris@im.allmendenetz.de
          wrote on last edited by
          #7
          @z6Mki5zHriQp1MrWfAtMNN2WZC43uRZMquT68U4B6dptNcY1/actor" rel="nofollow noopener">Johannes Oschlies hubzilla and streams actually code in BBcode... there is a markdown addon which transforms md to BBcode
          1 Reply Last reply
          0
          • reiver@mastodon.socialR reiver@mastodon.social

            How many Fediverse software use Markdown as its default text format — rather than HTML?

            I think both PeerTube and Lemmy are Markdown native — rather than HTML.

            Anything else?

            #FediDev #FediDevs #Fediverse #Markdown

            klu9@ohai.socialK This user is from outside of this forum
            klu9@ohai.socialK This user is from outside of this forum
            klu9@ohai.social
            wrote on last edited by
            #8

            @reiver

            Mastodon Glitch Edition
            https://glitch-soc.github.io/docs

            1 Reply Last reply
            0
            • reiver@mastodon.socialR reiver@mastodon.social

              How many Fediverse software use Markdown as its default text format — rather than HTML?

              I think both PeerTube and Lemmy are Markdown native — rather than HTML.

              Anything else?

              #FediDev #FediDevs #Fediverse #Markdown

              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.social
              wrote last edited by
              #9

              @reiver Markdown or its subset is supported by almost every platform except Mastodon.
              But PeerTube is the only software I know that puts markdown in content instead of HTML.

              helge@mymath.rocksH 1 Reply Last reply
              0
              • reiver@mastodon.socialR reiver@mastodon.social

                How many Fediverse software use Markdown as its default text format — rather than HTML?

                I think both PeerTube and Lemmy are Markdown native — rather than HTML.

                Anything else?

                #FediDev #FediDevs #Fediverse #Markdown

                matt@writing.exchangeM This user is from outside of this forum
                matt@writing.exchangeM This user is from outside of this forum
                matt@writing.exchange
                wrote last edited by
                #10

                @reiver #WriteFreely uses Markdown by default too, but of course sends out HTML to the fediverse

                1 Reply Last reply
                0
                • reiver@mastodon.socialR reiver@mastodon.social

                  How many Fediverse software use Markdown as its default text format — rather than HTML?

                  I think both PeerTube and Lemmy are Markdown native — rather than HTML.

                  Anything else?

                  #FediDev #FediDevs #Fediverse #Markdown

                  julian@activitypub.spaceJ This user is from outside of this forum
                  julian@activitypub.spaceJ This user is from outside of this forum
                  julian@activitypub.space
                  wrote last edited by
                  #11

                  @reiver@mastodon.social add in NodeBB as well. Markdown first, and probably HTML too, although it will probably be sanitized to death on the way out.

                  1 Reply Last reply
                  1
                  • silverpill@mitra.socialS silverpill@mitra.social

                    @reiver Markdown or its subset is supported by almost every platform except Mastodon.
                    But PeerTube is the only software I know that puts markdown in content instead of HTML.

                    helge@mymath.rocksH This user is from outside of this forum
                    helge@mymath.rocksH This user is from outside of this forum
                    helge@mymath.rocks
                    wrote last edited by
                    #12

                    Speaking of handling markdown. I created funfedi.dev Media Types a while ago (and just added it to the navigation). I lost interest when I saw that nobody properly handled the mediaType attribute of a note. Not that I know what I expected.

                    Can you explain what goes on in mitra? When mediaType is text/markdown. It changes __bold__ to <p>__bold__</p>, otherwise no paragraph tags. I'm pretty sure, I was once told to use __ for bold and * for emphasize. So my markdown should be good.

                    Full example ... input activity -> mitra api response

                    Final note: I am not sure what I would want a proper data format to do. I find the solution of W3C ActivityPub (not W3C ActivityStreams) proposes of putting HTML in content and adding source with the original, from which the HTML was generated ok. Of course, this leaves the existence of the summary and name field superfluous.

                    silverpill@mitra.socialS 1 Reply Last reply
                    0
                    • helge@mymath.rocksH helge@mymath.rocks

                      Speaking of handling markdown. I created funfedi.dev Media Types a while ago (and just added it to the navigation). I lost interest when I saw that nobody properly handled the mediaType attribute of a note. Not that I know what I expected.

                      Can you explain what goes on in mitra? When mediaType is text/markdown. It changes __bold__ to <p>__bold__</p>, otherwise no paragraph tags. I'm pretty sure, I was once told to use __ for bold and * for emphasize. So my markdown should be good.

                      Full example ... input activity -> mitra api response

                      Final note: I am not sure what I would want a proper data format to do. I find the solution of W3C ActivityPub (not W3C ActivityStreams) proposes of putting HTML in content and adding source with the original, from which the HTML was generated ok. Of course, this leaves the existence of the summary and name field superfluous.

                      silverpill@mitra.socialS This user is from outside of this forum
                      silverpill@mitra.socialS This user is from outside of this forum
                      silverpill@mitra.social
                      wrote last edited by
                      #13

                      @helge @reiver

                      >Can you explain what goes on in mitra?

                      When mediaType is text/markdown, the entire content is wrapped in a <p> tag. This was done for compatibility with PeerTube. I think <p> was needed to create a space between the title (name) and the content, since title is prepended to content in Mitra (also a compatibility hack -- for Mastodon API clients).

                      julian@activitypub.spaceJ 1 Reply Last reply
                      0
                      • silverpill@mitra.socialS silverpill@mitra.social

                        @helge @reiver

                        >Can you explain what goes on in mitra?

                        When mediaType is text/markdown, the entire content is wrapped in a <p> tag. This was done for compatibility with PeerTube. I think <p> was needed to create a space between the title (name) and the content, since title is prepended to content in Mitra (also a compatibility hack -- for Mastodon API clients).

                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.spaceJ This user is from outside of this forum
                        julian@activitypub.space
                        wrote last edited by julian@activitypub.space
                        #14

                        I think the wrapping in <p> is just plain good practice because otherwise rendered content could be injected somewhere resulting in invalid HTML.

                        Not that browsers ever reject bad HTML anyway heh</p>

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups