开源软件名称(OpenSource Name):bitlyfied/markdown-cv开源软件地址(OpenSource Url):https://github.com/bitlyfied/markdown-cv开源编程语言(OpenSource Language):Ruby 100.0%开源软件介绍(OpenSource Introduction):Markdown CVMarkdown CV is an attempt to write CVs using Markdown syntax, versioned using Git, automatically built into PDFs. Warning: I wrote this code just for my personal use. Feel free to use it, but don't expect it to be well tested or even near to a beta version. I wrote a blog post about why I wrote it: http://bitlyfied.com/2013/03/14/markdown-cv/ InstallInstall GEM dependencies:
Install wkhtmltopdfI had issues with version 0.11, so I'd suggest to use 0.10. You can download it from here: http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-OSX-0.10.0_rc2-static.tar.bz2 Then create a symlink into your /usr/local/bin so that PDFKit can access it. BuildTo generate PDF you just need to use rake:
Or, if you want to build and display the PDF in a single command, just use:
UsePut your CVs in the src folder. All files *.md are built by the rake task. You can use the one provided as an example. The build task is a three step process:
To tweak the style of the CV you can change the template/base.css file with your own font and style. Enriched MarkdownMarkdown CV is using Github-flavoured Markdown, and on top of that it's adding an extra feature. You can mark blocks of content with the following syntax:
The build process will replace [myblock] with <div class="myblock"> You can use this functionality to create asides and content formatted in a special way. Page breaksMarkdown has no knowledge of pages or page breaks. But you can use page-break- CSS to control them. You can tackle the issue in two different ways.
For the first method, you could use custom tags in your markdown like this:
Then you just need to add some CSS like this:
My preferred approach is to let the content flow naturally between pages, and only avoid page breaks where they shouldn't be. The CV provided as example uses this trick.
Then this line of CSS ensure everything in the block will hang together:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论