Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Cerulean)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. 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?

Pianificato Fissato Bloccato Spostato Technical Discussion
fedidevfedidevsfediversemarkdown
14 Post 11 Autori 37 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • reiver@mastodon.socialundefined 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.socialundefined Questo utente è esterno a questo forum
    aslakr@mastodon.socialundefined Questo utente è esterno a questo forum
    aslakr@mastodon.social
    scritto su ultima modifica di
    #5

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

    reiver@mastodon.socialundefined 1 Risposta Ultima Risposta
    0
    • aslakr@mastodon.socialundefined aslakr@mastodon.social

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

      reiver@mastodon.socialundefined Questo utente è esterno a questo forum
      reiver@mastodon.socialundefined Questo utente è esterno a questo forum
      reiver@mastodon.social
      scritto su ultima modifica di
      #6

      @aslakr

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

      1 Risposta Ultima Risposta
      0
      • Ospite? Ospite
        #Hubzilla and #streams both have it. #forte as well.
        chris@im.allmendenetz.deundefined Questo utente è esterno a questo forum
        chris@im.allmendenetz.deundefined Questo utente è esterno a questo forum
        chris@im.allmendenetz.de
        scritto su ultima modifica di
        #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 Risposta Ultima Risposta
        0
        • reiver@mastodon.socialundefined 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.socialundefined Questo utente è esterno a questo forum
          klu9@ohai.socialundefined Questo utente è esterno a questo forum
          klu9@ohai.social
          scritto su ultima modifica di
          #8

          @reiver

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

          1 Risposta Ultima Risposta
          0
          • reiver@mastodon.socialundefined 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.socialundefined Questo utente è esterno a questo forum
            silverpill@mitra.socialundefined Questo utente è esterno a questo forum
            silverpill@mitra.social
            scritto su ultima modifica di
            #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.rocksundefined 1 Risposta Ultima Risposta
            0
            • reiver@mastodon.socialundefined 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.exchangeundefined Questo utente è esterno a questo forum
              matt@writing.exchangeundefined Questo utente è esterno a questo forum
              matt@writing.exchange
              scritto su ultima modifica di
              #10

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

              1 Risposta Ultima Risposta
              0
              • reiver@mastodon.socialundefined 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.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                julian@activitypub.space
                scritto su ultima modifica di
                #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 Risposta Ultima Risposta
                0
                • silverpill@mitra.socialundefined 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.rocksundefined Questo utente è esterno a questo forum
                  helge@mymath.rocksundefined Questo utente è esterno a questo forum
                  helge@mymath.rocks
                  scritto su ultima modifica di
                  #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.socialundefined 1 Risposta Ultima Risposta
                  1
                  • helge@mymath.rocksundefined 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.socialundefined Questo utente è esterno a questo forum
                    silverpill@mitra.socialundefined Questo utente è esterno a questo forum
                    silverpill@mitra.social
                    scritto su ultima modifica di
                    #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.spaceundefined 1 Risposta Ultima Risposta
                    1
                    • silverpill@mitra.socialundefined 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.spaceundefined Questo utente è esterno a questo forum
                      julian@activitypub.spaceundefined Questo utente è esterno a questo forum
                      julian@activitypub.space
                      scritto su ultima modifica di 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 Risposta Ultima Risposta
                      0

                      Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                      Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                      Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                      Registrati Accedi
                      Rispondi
                      • Risposta alla discussione
                      Effettua l'accesso per rispondere
                      • Da Vecchi a Nuovi
                      • Da Nuovi a Vecchi
                      • Più Voti


                      Feed RSS
                      How many Fediverse software use Markdown as its default text format — rather than HTML?
                      @pierobosio@soc.bosio.info
                      V4.10.1 Contributors
                      • Accedi

                      • Accedi o registrati per effettuare la ricerca.
                      • Primo post
                        Ultimo post