All Projects → liangjingkanji → Draketyporatheme

liangjingkanji / Draketyporatheme

Licence: apache-2.0
JetBrains Darcula theme of Typora theme

Labels

介绍

  1. 截图使用默认的字体: PT Code, 下载安装即可

    如果需要自定义字体, 请修改CSS文件第14行字体名称为你想要的字体即可替换全部显示字体

    font-family: "PT Code", "我想要的中文字体名称", sans-serif !important;
    
    • 如果第一个字体不支持中文, 则会采用第二个字体的中文,
    • 如果第一个字体未安装则会使用后续字体
  2. 代码渲染配置来自JetBrains Darcula

  3. 脚注样式来自于维基百科

  4. 推荐使用本主题制作优雅的简历模板, 可导出为静态网页部署在线简历

截图预览

提供多种配置预览

drake

drake-light

推荐字体

字体 描述
PT Code 基于PT Mono, 增加连字特性Ligatures, 略微有衬线, 字体偏大, "整齐的行书"
PlexMono 基于IBM PT Mono, 增加连字特性Ligatures, 没有任何多余笔画, 端正
JetBrains Mono JetBrains公司开发的字体, 同样拥有连字特性Ligatures, 灵动的高可读性字体

都属于等宽字体, 可以在任何场景下使用

安装方式

  1. 首先确定已安装 Typora

  2. 复制drake.csstheme目录下然后重启, 选择菜单栏主题

  3. 通过设置 -> 外观 -> 打开主题文件夹打开theme目录

使用加粗作为小标题

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)

    state.onRefresh {
        // 一般在这里进行网络请求
        thread {
            Thread.sleep(2000)
            showContent()
        }
    }.showLoading()
}

使用建议

功能 建议
加粗 作者认为加粗是一种不出现在标题大纲的小标题, 原本的简单加粗效果我觉得不够明显也影响文字排版效果(建议使用代码片代码替代)
引用 引用是一种警示醒目作用的文字块
代码片段 代码片段是和普通文本区分的文字块, 不一定是代码
代码 在普通文字中一小段具备特殊含义(标记醒目)的字符串, 此文本存在背景的话作者认为影响整齐排版效果
脚注 对某个内容进行解释, 简短的描述建议在内容后使用()括号

这里演示脚注内容[^2]

推荐用于醒目标注内容

[^2]: 脚注内容, 一般不使用脚注因为很多文档不支持Markdown脚注渲染(例如GitHub不支持脚注)

License

Copyright (C) 2018 Drake, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].