Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Neil Brown
@neil@mastodon.neilzone.co.uk  ·  activity timestamp 6 days ago

It would be amazing if all browsers rendered Markdown.

My websites and blogposts would just be Markdown files.

Just ssh/rsync and text files. No more static site generator.

Bliss.

(Yes, I know that Markdown is designed to look okay as-is. To geeks, it just about does. Yes, I could handwrite all the HTML. Yes, I am aware that there are multiple flavours of Markdown.)

#Markdown #webdev

  • Copy link
  • Flag this post
  • Block
der.hans
@lufthans@mastodon.social replied  ·  activity timestamp 3 days ago

@neil you consistently misspelled AsciiDoc, but yeah, that would be awesome!

  • Copy link
  • Flag this comment
  • Block
Henrik Pauli
@phl@mastodon.social replied  ·  activity timestamp 4 days ago

@neil And I just read today that LibreOffice is planning to add Markdown rendering support 😁 Odd coincidence.

https://fosstodon.org/@libreoffice/115419322599122011

  • Copy link
  • Flag this comment
  • Block
S★m V★rm★
@samvarma@fosstodon.org replied  ·  activity timestamp 5 days ago

@neil @stroughtonsmith I love the defensive disclaimers 🤣

Like you can see the glasses being pushed up the nose and the knuckles being cracked

  • Copy link
  • Flag this comment
  • Block
Gamey :thisisfine: :antifa:
@gamey@chaos.social replied  ·  activity timestamp 5 days ago

@neil Native markdown in browsers and email clients would be awesome but for websites static site generators do a nice job at it too. I used to have a blog with Hugo and it worked great

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 5 days ago

@gamey Yes, I am explicitly thinking outside a static site generator.

  • Copy link
  • Flag this comment
  • Block
Administrator
@mdm@mcnamarii.town replied  ·  activity timestamp 5 days ago

@neil I'd be happy if even Mastodon rendered it correctly.

  • Copy link
  • Flag this comment
  • Block
Guillaume Rossolini
@GuillaumeRossolini@infosec.exchange replied  ·  activity timestamp 5 days ago

@mdm @neil doesn’t it?

title

And some simple fornatting

[edit] I added a screenshot but maybe that’s confusing in the same post

Screenshot of this post
Screenshot of this post
Screenshot of this post
  • Copy link
  • Flag this comment
  • Block
Tim Chase
@gumnos@mastodon.bsd.cafe replied  ·  activity timestamp 5 days ago

@neil

TZAG, sir,

I would like to be the 28th person to reply with a server-side solution to your request for Markdown-in-the-browser support 😆

  • Copy link
  • Flag this comment
  • Block
Daniel
@djh@chaos.social replied  ·  activity timestamp 6 days ago

@neil rss+xslt, cursed but works 👀

https://darekkay.com/blog/rss-styling/

Darek Kay

Style your RSS feed

How to make your RSS feed look nice and provide useful information at the same time.
  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@djh Unless I am missing something, this is not about a browser rendering Markdown?

  • Copy link
  • Flag this comment
  • Block
Daniel
@djh@chaos.social replied  ·  activity timestamp 5 days ago

@neil Correct but it's the closest to what you want that exists today 🤗

  • Copy link
  • Flag this comment
  • Block
Goldmaster
@Goldmaster@mastodon.social replied  ·  activity timestamp 6 days ago

@neil yes! There is @gohugoio

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@Goldmaster Indeed, a static site generator, which this proposal would do avoid :)

  • Copy link
  • Flag this comment
  • Block
Alan Jeskins-Powell
@AlanJP@mastodon.social replied  ·  activity timestamp 6 days ago

@neil
Not the browser rendering Markdown but #Caddy webserver does support rendering Markdown files as web pages. I've used #caddy for many years, solid web server.
Example configuration:
https://til.jakelazaroff.com/caddy/serve-markdown-files-as-html/
Caddy doc's:
https://caddyserver.com/docs/

Welcome - Caddy Documentation

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go

[caddy] Serve Markdown files as HTML | Today I Learned

A collection of useful things I've learned.
  • Copy link
  • Flag this comment
  • Block
Dibs
@dtwx@mastodon.social replied  ·  activity timestamp 6 days ago

@neil I love all the caveats on such a reasonable idea.

I would love it if we could write EVERYTHING at work in Markdown. The gains in terms of #accessibility would be immense.

  • Copy link
  • Flag this comment
  • Block
nadja
@dequbed@mastodon.chaosfield.at replied  ·  activity timestamp 6 days ago

@neil This is one of the situations where JavaScript as an extension engine for browsers makes a lot of sense. The page works perfectly fine without javascript which is only used to spice up representation in ways CSS can't. Still this would sadly need *some* HTML <head> anyway :(

  • Copy link
  • Flag this comment
  • Block
vramvoolenaar
@vramvoolenaar@mastodon.nlmakers.ca replied  ·  activity timestamp 6 days ago

@neil

https://vimwiki.github.io/

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@vramvoolenaar

It is a great tool, but unrelated to browsers supporting Markdown?

  • Copy link
  • Flag this comment
  • Block
vramvoolenaar
@vramvoolenaar@mastodon.nlmakers.ca replied  ·  activity timestamp 6 days ago

@neil
I like the plugin for managing projects/documents, it supports markdown. The following feature reminded me of your plight.
:vimwikiall2html

That and pandoc covers me for publishing.

  • Copy link
  • Flag this comment
  • Block
Harald
@HaraldKi@nrw.social replied  ·  activity timestamp 6 days ago

@neil

LOL, which markdown exactly 😀
https://github.com/commonmark/commonmark-spec/wiki/Markdown-Flavors

GitHub

Markdown Flavors

CommonMark spec, with reference implementations in C and JavaScript - commonmark/commonmark-spec
  • Copy link
  • Flag this comment
  • Block
Dmitri Ravinoff
@toxomat@social.tchncs.de replied  ·  activity timestamp 6 days ago

@neil
You could pipe your Markdown files through `pandoc` before scp/rsync.

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@toxomat Yes, as a form of static site generation. I could also install a processing module on my webserver. But here I am talking about a browser displaying Markdown nicely.

  • Copy link
  • Flag this comment
  • Block
Monospace Mentor
@monospace@floss.social replied  ·  activity timestamp 6 days ago

@neil A static site generator as a translation and styling layer adds a lot of value for little effort, though.

  • Copy link
  • Flag this comment
  • Block
Fish Id Wardrobe
@fishidwardrobe@mastodon.me.uk replied  ·  activity timestamp 6 days ago

@neil I'd be okay with this so long as they rendered *.md and left, say, *.txt alone.

Wouldn't even be hard to do.

The hard thing would be agreeing which sort of markdown!

  • Copy link
  • Flag this comment
  • Block
Chris Martin
@chris__martin@functional.cafe replied  ·  activity timestamp 6 days ago

@neil You could implement this as a web component

  • Copy link
  • Flag this comment
  • Block
Tim Ward ⭐🇪🇺🔶 #FBPE
@TimWardCam@c.im replied  ·  activity timestamp 6 days ago

@neil The thing about Markdown is that there are 847 different flavours of it, so to start with there would be a couple of decades of religious wars as to exactly which flavour(s) the browsers should support, and of course they'd all end up supporting different ones.

  • Copy link
  • Flag this comment
  • Block
Frank
@fschaap@mastodon.social replied  ·  activity timestamp 6 days ago

@neil What's surprising is that there isn't even a Firefox extension to do that... unless I am not searching good enough.

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@fschaap There are a couple, I think, from looking at this a while back.

  • Copy link
  • Flag this comment
  • Block
hojalot
@hojalot@masto.ai replied  ·  activity timestamp 6 days ago

@neil Is there a markdown standard that browsers could code to?

  • Copy link
  • Flag this comment
  • Block
Neil Brown
@neil@mastodon.neilzone.co.uk replied  ·  activity timestamp 6 days ago

@hojalot Yes

  • Copy link
  • Flag this comment
  • Block
Phaistos Disco
@pikesley@mastodon.me.uk replied  ·  activity timestamp 6 days ago

@neil @hojalot yes, there are many markdown standards

  • Copy link
  • Flag this comment
  • Block
Lars Marowsky-Brée 😷
@larsmb@mastodon.online replied  ·  activity timestamp 6 days ago

@neil @hojalot One? Quite a few even!

MD has more custom features everywhere that are also heavily used. From GitHub to Obsidian ...

  • Copy link
  • Flag this comment
  • Block
Ruben
@ruben@kedara.social replied  ·  activity timestamp 6 days ago

@neil I know it's not what you're looking for, but I was amazed at how close you could get with Caddy (e.g. this blog post: https://til.jakelazaroff.com/caddy/serve-markdown-files-as-html/ ) It could work for simple websites. Maybe even complex ones, I haven't looked at it too closely yet.

[caddy] Serve Markdown files as HTML | Today I Learned

A collection of useful things I've learned.
  • Copy link
  • Flag this comment
  • Block
Dave
@stardot@mastodon.me.uk replied  ·  activity timestamp 6 days ago

@neil I feel like we need a class of browsers that just renders lightweight markups since building a html5/CSS renderer is a very high barrier to entry and is the most undemocratic "feature" of the modern web. One could even use curl for the network layer code

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login