Its all HTML
Its all HTML
blog! “Introducing Pretty Print HTML for PHP 8.4”
I'm delight to announce the first release of my opinionated HTML Pretty Printer for new versions of PHP.
Grab the code from Packagist
Contribute on GitLab
There are several prettifiers on Packagist, but I think mine is the only one which works with the new Dom\HTMLDocument class.
Table of Contents
What
This takes…
⸻
#HTML #php
Game Studio Starter Kit (6 Game Collection) http://leanpub.com/set/leanpub/ugsskitc by Stephen Gose is the featured Track of online courses on the Leanpub homepage! https://leanpub.com #ProjectManagement #GameDevelopment #Html #Javascript #WebDevelopment
My April IndieWeb blog carnival entry on “renewal”!
I often feel compelled to tweak and redesign my website at the expense of other things I value. I talk about reconnecting with what I most enjoy about composing and coding, and avoiding treating my leisure and projects as if I need to impress someone.
https://reillyspitzfaden.com/posts/2025/04/indieweb-blog-carnival-renewal/
I've now published my first library on Packagist!
https://packagist.org/packages/edent/pretty-print-html
Feedback, suggestions, corrections, tips, tricks, and praise very much welcome!
Medior PHP https://leanpub.com/b/mediorphp by Joseph Kanyo is the featured bundle of ebooks on the Leanpub homepage! https://leanpub.com #Php #Databases #Mysql #ComputerProgramming #Laravel #Symfony #Html #Refactoring #Apis #ApiDesign #books #ebooks
@cwebber @mkljczk
I would call this „old school“ and it's a stamp of quality from the bygone golden days of web design and -publishing. Back then it was simple, noble and classic design and code. After years of Joomla and Wordpress I'm circling back to #FlatFileCMS, #RSS, #HTML and #Markup - and I love it!
I’m fortunate to have worked with a lot of amazing designers over the years. Some were curious about designing in the browser with basic #HTML and #CSS, but weren’t sure where to begin, or felt discouraged by a lot of developer-centric content.
This is the advice I gave that seemed to resonate most: https://cloudfour.com/thinks/designing-in-the-browser-five-tips-for-beginners/
Yet more HTML brainteasers for you to argue over!
How do you feel about newlines in attribute values?
For example:
`<img alt="A kitten.
A puppy.">`
Or:
`<div class="cat
dog
horse">`
Is there ever a time when a newline *must not* be replaced by a space?
Neat (but slow): The following snippet will instruct Org-mode to generate MathML when exporting LaTeX-snippets to HTML using LaTeXML:
(setopt
org-latex-to-html-convert-command "latexmlc literal:%i --profile=math 2>/dev/null"
org-html-with-latex 'html)
You can adjust it to load additional packages by adding --preload=
flags.
If you're an #HTML nerd, I would love your help.
I've released a new Pretty-Printer for PHP 8.4's Dom\HTMLDocument class.
Could you please go to https://shkspr.mobi/blog/random and hit view source in your browser.
Does everything look OK? Anything weird? It should all be formatted nicely.
THANKS!
OK! I am now *moderately* confident that my #HTML Pretty Printer works. So I'm looking for feedback
Here's how you can help:
1. Visit https://shkspr.mobi/blog/random and view the source. Let me know if it looks weird please!
2. Contribute test cases either at https://gitlab.com/edent/pretty-print-html-using-php/ or by sending me some complicated HTML.
3. Tell me how useful you think this is.
THANKS GANG!
I love looking at people's website source code, especially when I stumble across cool things like this:
view-source:https://www.write-on.org/
If you don't know, my CSS Tip website is open to advertisers. Don't miss the opportunity to promote your product and support my work!
Reach a wide audience of passionate web developers (~14.000 active users per month) starting from 150$/month.
New Kitten release
• Fix: messages that are promises are properly awaited before being sent.
Kitten automatically and transparently handles asynchronous content in your templates for you so you don’t have to worry about it. One place where this wasn’t working properly is if you addressed `this.component` to stream a custom update of your component manually instead of calling the `this.update()` method of Kitten component instances.
e.g.,
```js
export default class AdminPage extends kitten.Page {
// …
onSelectedPost (data) {
this.send(kitten.html`<${this.component} postId='${data.selectedPost.postId}' />`)
}
}
```
A favorite hobby of mine has become collecting outdated, preferably chintzy, tech books. My most recent is the MS-DOS 6.2 guide.
#Development #Techniques
How to open and close HTML dialogs · You’ll use a little JS today but none in the future https://ilo.im/163b4u
_____
#Dialogs #Modals #Invokers #Browser #WebDev #Frontend #HTML #CSS #JavaScript
SELFHTML wird 30! Das wollen wir feiern!
Am Samstag, den 24.05.2025 gibt es …
12:00 Unconference mit Beiträgen zu RWD, Screenreadern und mehr
17:00 Stadtrundgang Stadt.Wand.Kunst
19:00 Abendessen
https://forum.selfhtml.org/self/2025/apr/11/self-treffen-2025-unconference/1819538#m1819538
I got tired of manually updating my CV across different formats, especially PDF.
So I built CVBuilder, a Swift package that keeps everything in code—typed, versioned, and exportable as Markdown, HTML (via Ignite), or plain text.
Here's more info about it:
https://aleahim.com/cvbuilder/
And a GitHub repo:
https://github.com/mihaelamj/cvbuilder