Skip to content

Instantly share code, notes, and snippets.

@sebastienwindal
Created September 20, 2012 02:10
Show Gist options
  • Select an option

  • Save sebastienwindal/3753570 to your computer and use it in GitHub Desktop.

Select an option

Save sebastienwindal/3753570 to your computer and use it in GitHub Desktop.
My modified html template for the iA writer on the mac.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>__IAWRITER_DOCUMENT_TITLE__</title>
<meta name="author" content="__IAWRITER_USER_NAME__">
<meta name="generator" content="iA Writer for Mac __IAWRITER_BUNDLE_VERSION__">
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
@font-face {
font-family: 'M1cregular';
src: url('mplus-1c-regular-webfont.eot');
src: url('mplus-1c-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('mplus-1c-regular-webfont.woff') format('woff'),
url('mplus-1c-regular-webfont.ttf') format('truetype'),
url('mplus-1c-regular-webfont.svg#M1cregular') format('svg');
font-weight: normal;
font-style: normal;
}
body { color: #222; font: normal normal 400 100%/1.5em "M1cregular", “Lucida Grande”,sans-serif; margin: 3em auto; width: 40em }
a:link { color: #3366CC }
a:visited { color: #224488 }
blockquote,ol,p,ul { display: block; margin: 0 0 1.5em }
blockquote { border-left: solid .1em #E4E4E4; color: #919191; padding: 0 1.5em 0 1.4em }
code { font: normal normal 87.5%/1.71428571em monospace,sans-serif }
img { display: block; margin: 1.5em auto }
pre { display: block; font: normal normal 87.5%/1.71428571em monospace,sans-serif; margin: 1.71428571em }
h1,h2,h3,h4,h5,h6 { font-weight: 400 }
h1 { font-size: 225%; line-height: 1.3334em; margin: 0 0 .1666em }
h2 { font-size: 175%; line-height: 1.28571429em; margin: 0 0 .35714286em }
h3 { font-size: 137.5%; line-height: 1.3636em; margin: 0 0 .5em }
h4,h5,h6 { font-size: 112.5%; line-height: 1.3334em; margin: 0 0 .7778em }
ol,ul { list-style-position: inside; padding: 0 }
ol ol,ol ul,ul ol,ul ul { margin: 0 0 .75em 2em }
table { border-collapse: collapse; margin: 1.5em 0; width: 100% }
td,th { border: solid .1em #000; font-family: sans-serif; font-size: 87.5%; line-height: 1.71428571em; text-align: center }
</style>
</head>
<body>
__IAWRITER_CONTENT__
</body>
</html>
@sebastienwindal
Copy link
Copy Markdown
Author

Also I am using the M-1c font in my template available here: http://www.fontsquirrel.com/fonts/M-1c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment