/DrakeTyporaTheme

JetBrains Darcula theme of Typora theme

Primary LanguageCSSApache License 2.0Apache-2.0

介绍

  1. 截图使用默认的字体: JetBrainsMono, 安装即可. 如果需要自定义字体修改CSS文件第11行字体名称即可替换全部字体
  2. 代码渲染配置来自JetBrains Darcula
  3. 脚注样式来自于维基百科

安装方式

  1. 首先确定已安装 Typora

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

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

加粗效果

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)

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

这里演示脚注内容1

推荐用于醒目标注内容

截图预览

image-20200802050022271

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.

Footnotes

  1. 脚注内容, 一般不使用脚注因为很多文档不支持Markdown脚注渲染(例如GitHub不支持脚注)