Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor32563dNice article but how did you create your site? Is it just html or do you also use markdown in the back? How do you do the syntax highlighted code blocks? Js or smth server side?
https://snek.molodetz.nl uses markdown for every chat message and I added support for syntax highlighting. So every message is rendered html server side. It's very decent. You could consider it cached. Original markdown is kept too ofcourse. -
@retoor Astro does it all out of the box, and everything is prerendered. The only JavaScript on the page is what I specifically mark to run client-side such as scroll restoration (because the browser only does that if your whole site is scrollable. Yuck!) and relative dates.
-
retoor32562dFuck, astro. That's exactly what i've built in Python recently. My project renders just markdown and serves it for quick & easy site development. It's the most easy system ever. You can do even inline Python and use it as PHP (output with print statements) and do DB shit IF YOU WANT. But by default, it's only markdown.
Related Rants
-
tahnik9Oh my God! This is so amazing! So I have to register in the website to view article in one single page. Other...
-
dfox6devRant was featured in a really awesome article on TNW (The Next Web). Please check it out and share it aroun...
-
practiseSafeHex2Internal support article to get access to a tool: "To get access click 'NO' in the 'was this article helpful ...
Async Rust doesn't have a great story for Iterator::map just yet. I wrote a mini-article about it:
https://lbfalvy.com/blog/...
rant
async rust
article
now on astro!