Email or username:

Password:

Forgot your password?
Devil Lu Linvega

Spoke with folks today who use markdown only for the html generation, and in some cases they were not aware that you could do expansion to inject fully formed html instead of writing it all out.

Most operating systems and text editors will support abbreviation expansion. On OSX, I think it's System Prefs > Keyboard > Text. It's well worth the time to create a couple of abbreviations when writing html.

Hopefully this neat trick can help ween yourself away from complicated site builders.

5 comments
Luci ‘O Lantern

@neauoire most text editors have a snippets library with “tab expansion” that i really love for exactly this.

also I hugely love emmet, which takes a (slightly enhanced) css selector syntax and expands it to the full html that css selects for

Devil Lu Linvega

@zens yeah it's pretty well supported, just not very well known I think.

rostiger

@neauoire Ha, that's neat! I have to check if there is something like that for micro.

Devil Lu Linvega

@rostiger if micro can't do it, you might be able to use something at the OS level.

Levi Beach

@neauoire Ooo yeah! I used that feature all the time until I moved to Linux and wanted something I could easily move between machines. Espanso app (espanso.org/) is the solution I landed on. Love that you can build little libraries of expansions for different purposes.

Go Up