This is the CSS for styling Markdown drops in Droplr.
Take a look at a live drop page or the demo page you can view locally.
The stylesheet is written in SASS, but generating a new CSS file is simple. Assuming you already have Ruby installed, first install the Sass gem:
gem install sass
Then, after you've cloned this repository, cd
into the directory and run Sass to convert markdown.sass
:
sass markdown.sass markdown.css
Now, you can open index.html
in your browser and see the updated styles.
To use the stylesheet in your own project, just add a markdown
class to the container of your rendered Markdown.
Read the Sass documentation for other ways of working with Sass.
Go wild. Edit and add to the Sass file or demo page and submit a pull request. All updates will be reflected in Droplr's production Markdown drop pages.