Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created July 7, 2011 17:15
Show Gist options
  • Save simonmichael/1070020 to your computer and use it in GitHub Desktop.
Save simonmichael/1070020 to your computer and use it in GitHub Desktop.
sample invoice layout in pandoc markdown
# INVOICE 20110706xx
------------------------------------- ---------------------------------
**To:**<br> **From:**<br>
Client XX<br> me<br>
address<br> address<br>
<br> <br>
<br> Email: ...<br>
<br> Phone: ...<br>
-----------------------------------------------------------------------
**Date:** 2011/7/6
**Summary:** $X is now due for IT support, maintenance and development during June 2011.
Activity Hours Rate Total
------------------------------------------------------------- -------- ----- ------
#121 signings & backlog reports 0.7
#159 service schedule complete replacement item not showing 2.1
#160 Incorrect stacked window size rounding & overall size 8.4
admin 4.6
planning 0.1
recruiting 0.3
systems maintenance 3.3
------
x.x $xx $XXXX
<style>
body {width:50em;}
table {width:100%;}
th {border-bottom:thin solid #eee;}
tr:nth-child(even) {background-color:#eee;}
</style>
@gsvolt
Copy link

gsvolt commented Apr 24, 2012

@simonmichael .. what pandoc command line can one use to use the above markdown?

@simonmichael
Copy link
Author

@gsvolt: I forget, for a PDF you could do something like pandoc FILE -r markdown -w texinfo; texi2pdf -b -q FILE.texi . Join us in #ledger if you need help.

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