Defuddle now has a website!
This means you can use Defuddle anywhere to get the main content of a page in Markdown format.
You can simply add "defuddle.md" before any URL, use it via curl, Skills, CLI, or add it to your app via NPM.
Defuddle now has a website!
This means you can use Defuddle anywhere to get the main content of a page in Markdown format.
You can simply add "defuddle.md" before any URL, use it via curl, Skills, CLI, or add it to your app via NPM.
@drahardja For the reverse transformation (HTML to MD), I think the smart thing to do would be collapsing any entity representable as a UTF-8 literal to that. So that it's actually legible as text, like MD is meant to be.
@mattwilcox@mstdn.socia GFM renders inline HTML entities in markdown docs as HTML entities. https://github.github.com/gfm/#entity-and-numeric-character-references
@mattwilcox @kepano Then again, no reason for it not to handle properly?
@stevenodb TBH I'm not sure how markdown itself handles - I'd expect a space being rendered, but then again I also find is almost always some ancient (and crappy) text engine having spat them out when no-one actually wanted an nbsp. They're rarely intentional.
I'm surprised to see them in my source - but I have had to massage that site over the years - and I suspect some tool somewhere got weird with it while I was scraping it for archiving years ago. @kepano
@kepano Woaoaoaaaaaaaaaahhh... nbsp?! Why the hell has my source got a ton of nbsp's in it?!
This has to be a side effect from scraping my old website to make the static version that's there now.
Not a you issue - it's a problem for me!
@kepano Very cool - what is with the strange treatment of missing spaces sometimes?
eg https://defuddle.md/2015-2020.mattwilcox.net/musing/should-vs-want.html vs https://2015-2020.mattwilcox.net/musing/should-vs-want.html
A lot of words are merged together?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.