mrcoles/markdown-css
mrcoles/markdown-css has 1,435 GitHub stars and 161 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 06:13 UTC. Last push 2020-10-02.
CSS for making regular HTML look like plain-text markdown.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMarkdown.css
A perverse way to make your HTML look like markdown, purely via CSS.
Use the markdown.css file to make regular HTML look like plain-text markdown. No JavaScript hacks are needed. View the demo to see what I’m talking about.
The styles are written in markdown.less. If you want to hack on this project, you can convert the less files to css with build.sh or run the watch_less.sh script to have it auto-update when the files change.
This is built to support all of the standard markdown elements with a few minor issues.
Issues:
- repeats for h1, hr, and blockquote use characters that are repeated 100 times, so width greater than 100 characters or a blockquote more than a 100 lines will not be perfect
- pseudo elements (:before, :after) don’t work with images (except opera), so I didn’t support making images look like markdown
Bookmarklet
Try out the experimental bookmarklet, linked at the bottom of the demo. Created in the bookmarklet generator with the following code and a jquery include:
$('link[rel=stylesheet]').add('style').remove();
$('[style]').attr('style', '');
$('head').append('<link rel="stylesheet" href="http://mrcoles.com/media/test/markdown-css/markdown.css" type="text/css" />');
$('body').addClass('markdown').css({width: '600px', margin: '2em auto', 'word-wrap': 'break-word'});
$('a img').css({'max-height': '1em', 'max-width': '1em'});
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,742 starspublic-apis/public-apis
A collective list of free APIs
496,970 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,502 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,130 stars