Skip to content

Instantly share code, notes, and snippets.

@myrjola
Created October 20, 2015 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myrjola/38b62811c4dac9144589 to your computer and use it in GitHub Desktop.
Save myrjola/38b62811c4dac9144589 to your computer and use it in GitHub Desktop.
(setq org-html-postamble nil)
(setq org-html-head-extra "
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:400,700' rel='stylesheet' type='text/css'>
<style type='text/css'>
body {
font-family: 'Source Sans Pro', sans-serif;
}
pre, code {
font-family: 'Source Code Pro', monospace;
}
table, th, td { border-color: #DDD }
tr:nth-child(even) { background: #F8F8F8 }
tr:nth-child(odd) { background: #FFF }
</style>")
(setq org-html-table-default-attributes
(quote
(:border "2" :cellspacing "0" :cellpadding "6" :rules "all" :frame "border")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment