zh-hongda

常用名词

使用markdown制作个人简历

使用markdown制作个人简历

  1. install jekyll on your computer. gem install jekyll will do for most users.
  2. Clone nimo-markdown-cv
  3. Type jekyll serve and you’ll be able to see your CV on your local host (the default address is http://localhost:4000).在项目的文件夹下执行,测试时使用的是bundle exec jekyll serve
  4. You can edit the index.md file and see changes live in your browser.
  5. To print a PDF, just press Print. Print and web CSS media queries should take care of the styling.

遇见的问题:

如果提示缺少组件或包,使用gem install 对应的包安装“对应的包”。

Could not find gem ‘jekyll (= 3.9.0) x64-mingw32’ 新手提问

解决方案

在文件夹目录下依次执行

  • bundle install
  • bundle exec jekyll serve

bundle install执行无反应

使用bundle install 安装Gemfile中的依赖时,遇到长时间无响应的情况。

其原因为:访问国外镜像源https://rubygems.org速度较慢。

解决方案

此处使用 Gemfile和Bundler,可以用 Bundler 的 Gem 源代码镜像命令:

$ bundle config mirror.https://rubygems.org https://gems.ruby-china.com

详情请参考官方网站


[cannot load such file — kramdown-parser-gfm’]

解决方案

I added gem "kramdown-parser-gfm" to Gemfile. Now the serve command completes successfully.


网页版简历打印为pdf时,右侧边缘部分显示不完整,推测时因为时间和地点字体是斜体导致,所以修改字体

/*注释掉原有css中字体部分即可*/
code {
  /* font-family: "Palatino";
  font-style: italic; */
  float: right;
}

参考:

nimo-markdown-cv

RubyGems - Ruby China

bundle install 无响应问题

在 Windows 上搭建本地 Jekyll 编译环境时问题汇总

Could not find gem ‘jekyll (= 3.9.0) x64-mingw32’ 新手提问 #1

nimo-markdown-cv