Giter VIP home page Giter VIP logo

vuepress-theme-resume's Introduction

🐈 介绍

当我们在使用 markdown 书写简历时,都有哪些痛点 🤒?

  1. 使用编辑器自带的 markdown 预览。缺点:不够精致(丑)emmmm
  2. 使用 Bear (付费)。缺点:导出 pdf 时无法修改参数(默认字体过大/过宽,导致无法压缩成1页)emmmm

在试用了 Mac 上几乎所有的 markdown 软件之后,都不够满意 🤕...

于是...

🚀 开始

方式一:直接开始

  1. 第一步:git clone 或 download 该项目

  2. 第二步:cd 进入项目目录

若环境中不存在 yarn/npm,则需要先安装yarn

# 安装依赖包
yarn # 或 npm i

# 开始
yarn dev # 或 npm run dev

yarn dev运行完后,使用浏览器打开提供的网址

  1. 第三步:修改 example/README.md,保存后网页将自动热更新

方式二:使用主题

yarn add -D vuepress-theme-resume # 或使用npm:npm i -D vuepress-theme-resume
// .vuepress/config.js 中添加
theme: 'resume',

样式覆盖

创建 .vuepress/styles/palette.styl 文件

/* font */
$fontSize = 13px
$fontWeight = 400

/* colors */
$accentColor = #4688F1
$textColor = #161F28
$borderColor = #eaecef

常见问题

如何导出为 pdf?

chrome 页面中右键 -> 打印 -> 另存为 pdf。

注意:打印-更多设置-取消勾选页眉和页脚。否则会有标题和日期。

导出的 pdf 如何控制只有 1 页?

方法一:.vuepress/styles/palette.styl 修改基准字体大小 $fontSize
方法二:chrome 打印 -> 更多设置 -> 缩放

💡 协作

如果你有更好的想法,欢迎 PR 👏

如果它对你有所帮助,可以点一下 ⭐️Star ~ 😉

License

MIT

Copyright (c) 2018-present, momoko

vuepress-theme-resume's People

Contributors

dependabot[bot] avatar komomoo avatar yiliang114 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vuepress-theme-resume's Issues

clone完毕后出现下面问题

$ git clone https://github.com/wannaxiao/vuepress-theme-resume.git
Cloning into 'vuepress-theme-resume'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 98 (delta 0), reused 3 (delta 0), pack-reused 95
Unpacking objects: 100% (98/98), done.

$ yarn
bash: yarn: command not found

$ npm i
npm WARN saveError ENOENT: no such file or directory, open 'D:\github\resume\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'D:\github\resume\package.json'
npm WARN resume No description
npm WARN resume No repository field.
npm WARN resume No README data
npm WARN resume No license field.

up to date in 14.862s
found 0 vulnerabilities

请教下如何解决

考虑过将 vuepress 升级到 1.x 嘛?

因为有一些 api 有出入了,并且我遇到一些场景 0.x 不能满足,例如 base 指定 cdn 的前缀。 所以我更希望使用 1.x 的 vuepress . 本来刚刚提交了一个 pr , 先关掉了,先问问作者哈,有没有意向升级一下,可以的话 我提个 pr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.