rstacruz / sparkup

A parser for a condensed HTML format
MIT License
1.57k stars 145 forks source link

Add support for indentation setting in HTMLDialect #117

Closed ghost closed 9 years ago

ghost commented 9 years ago

Fixes rstacruz/sparkup#27.

I'm not sure this is the best fix, but I got it to respect the --indent-spaces=X flag, which should mean that it will respect any editor that sends that flag to Sparkup. It defaults to 4, which is considered sane by most webdevs.

Despite having collaborator access, I wanted input instead of blindly pushing.

faceleg commented 9 years ago

Looks good to me