32 Commits

Author SHA1 Message Date
douboer
b823d90b55 update at 2025-10-21 21:47:02 2025-10-21 21:47:02 +08:00
douboer
8d40fbb01f update at 2025-10-16 18:10:27 2025-10-16 18:10:27 +08:00
douboer
411b7bbdb4 update at 2025-10-16 16:39:03 2025-10-16 16:39:03 +08:00
douboer
4932171cf1 update at 2025-10-16 16:34:40 2025-10-16 16:34:40 +08:00
douboer
544c53d9db update at 2025-10-16 16:26:39 2025-10-16 16:26:39 +08:00
douboer
00e9aea87f update at 2025-10-16 16:18:18 2025-10-16 16:18:18 +08:00
douboer
28942bea17 update at 2025-10-16 16:10:58 2025-10-16 16:10:58 +08:00
douboer
9f3a4e8812 update at 2025-10-16 14:24:10 2025-10-16 14:24:10 +08:00
douboer
5e1351408e update at 2025-10-16 14:06:24 2025-10-16 14:06:24 +08:00
douboer
93afc99e7d update at 2025-10-16 14:03:45 2025-10-16 14:03:45 +08:00
douboer
b9feb2f764 update at 2025-10-13 20:53:32 2025-10-13 20:53:32 +08:00
douboer
97a70bc23b update at 2025-10-10 23:45:02 2025-10-10 23:45:03 +08:00
douboer
437619cfff update at 2025-10-10 22:48:36 2025-10-10 22:48:36 +08:00
douboer
10ef109353 update at 2025-10-10 22:21:06 2025-10-10 22:21:06 +08:00
douboer
1d52f79e0c update at 2025-10-10 21:55:46 2025-10-10 21:55:46 +08:00
douboer
0ab20de880 update at 2025-10-10 21:54:05 2025-10-10 21:54:05 +08:00
douboer
1db58695e8 update at 2025-10-10 19:14:59 2025-10-10 19:14:59 +08:00
douboer
90933673f3 update at 2025-10-10 19:13:38 2025-10-10 19:13:38 +08:00
douboer
86c3beea49 update at 2025-10-10 17:00:09 2025-10-10 17:00:09 +08:00
douboer
1309caddc3 update at 2025-10-09 21:19:57 2025-10-09 21:19:57 +08:00
douboer
002feedbe1 update at 2025-10-09 16:23:27 2025-10-09 16:23:27 +08:00
douboer
a71b4c4d4f update at 2025-10-09 15:46:43 2025-10-09 15:46:43 +08:00
douboer
643fe9fad4 update at 2025-10-09 15:44:26 2025-10-09 15:44:26 +08:00
douboer
bb131861ad update at 2025-10-09 15:19:06 2025-10-09 15:19:07 +08:00
douboer
52110c6024 update at 2025-10-09 14:46:24 2025-10-09 14:46:24 +08:00
douboer
cab675abcc update at 2025-10-09 13:09:20 2025-10-09 13:09:20 +08:00
douboer
6f51916b50 update at 2025-10-09 12:39:24 2025-10-09 12:39:24 +08:00
douboer
a891153be0 update at 2025-10-09 08:58:43 2025-10-09 08:58:43 +08:00
douboer
095f87dbb9 update at 2025-10-08 22:31:03 2025-10-08 22:31:03 +08:00
douboer
e25dca5fdd update at 2025-10-08 22:26:26 2025-10-08 22:26:26 +08:00
douboer
7b36394427 update at 2025-10-08 20:05:39 2025-10-08 20:05:39 +08:00
douboer
3460669602 update at 2025-10-08 19:45:28 2025-10-08 19:45:28 +08:00
216 changed files with 28106 additions and 3951 deletions

3
.gitignore vendored
View File

@@ -21,4 +21,5 @@ data.json
# Exclude macOS Finder (System Explorer) View States
.DS_Store
assets
images

View File

@@ -12,6 +12,7 @@ The format is based on Keep a Changelog, and this project adheres to Semantic Ve
### Changed
- README新增图片方向处理说明、Gallery 参数使用示例。
- 预览布局:微信与小红书界面改为统一的网格化布局(`wechat-board` / `xhs-board`),组件按区域栅格排列,便于维护与对齐。
### Notes
- 若遇到其他 EXIF 方向值(除 1/3/6/8当前保持原样可后续扩展。
@@ -34,3 +35,4 @@ The format is based on Keep a Changelog, and this project adheres to Semantic Ve
## 维护指引
- 发布新版本:更新 `package.json` / `manifest.json` 的版本号;追加 `versions.json`;将当前 Unreleased 条目移动为新的版本号,并添加日期;再创建新的 Unreleased 模板。
- 提交信息建议:`feat: ...`, `fix: ...`, `docs: ...`, `refactor: ...` 等 Conventional Commits 风格。

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2024 sunbooshi
Copyright (c) 2025 Gavin Chan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

212
README.md
View File

@@ -1,16 +1,63 @@
## 更新说明
> [!IMPORTANT]
> NoteToMP 1.3.0版本对主题进行了优化,升级后请先清理旧版本主题文件,再重新下载新版主题。
> ### v1.5.0 小红书功能完善 ✨
>
> 操作步骤在NoteToMP插件设置中先点击『清空主题-清空』,然后点击『获取更多主题-下载』
> Note2Any v1.5.0 专注于小红书平台功能的完善和用户体验优化:
>
> **📱 小红书平台增强**
> - 可编辑页码输入框,支持快速跳转到指定页面
> - 切图功能完整实现,支持保存到自定义路径
> - 修复切图布局和定位问题,确保内容完整显示
> - 支持绝对路径和vault相对路径两种保存方式
>
> **🎨 主题系统优化**
> - 统一主题宽度限制max-width: 750px
> - 优化内边距设置,提升阅读体验
> - wx-mp-pro 和 xhs-philosophy 主题样式对齐
>
> **🔧 默认设置改进**
> - 默认平台改为"公众号",更符合主流使用场景
> - 切图默认保存路径改为 vault 相对路径xhs-images
> - 优化设置界面提示文字,更加清晰明确
>
> **升级建议**: 现有用户可直接升级。如使用小红书切图功能,建议检查保存路径设置。
> [!NOTE]
> ### v1.4.0 重大架构升级 🚀
> Note2Any v1.4.0 进行了全面的架构重构包含9个专业模块提供更稳定、更高效的发布体验。详见 [完整更新日志](./docs/CHANGELOG.md)。
> [!NOTE]
> ### v1.3.x 主题优化提醒
> Note2Any 1.3.0版本对主题进行了优化,升级后请先清理旧版本主题文件,再重新下载新版主题。
>
> 操作步骤在Note2Any插件设置中先点击『清空主题-清空』,然后点击『获取更多主题-下载』
>
> 注意:如果修改过主题文件请做备份后再操作。
完整历史变更请查看: [CHANGELOG](./CHANGELOG.md)
完整历史变更请查看: [CHANGELOG](./docs/CHANGELOG.md)
## 1、简介
这是一个Obsidian插件针对微信公众号编缉器进行了优化通过本插件复制笔记可以把笔记样式同步到公众号编缉器轻轻松松搞定文章格式一劳永逸而且支持代码高亮、代码行数显示、主题背景颜色等。针对微信公众号不能放链接也专门处理了提供直接展示链接地址和文末脚注展示两种方式。本项目初衷仅是为了能够将Obsidian中笔记的样式完美同步到微信公众号的编辑器中因此项目重点在于保证文章格式的一致性而不是成为一个微信公众号编辑器
Note2Any 是一个专为 Obsidian 打造的现代化发布插件,支持将笔记一键发布到微信公众号、小红书等多个平台。插件采用全新的模块化架构设计,提供稳定可靠的发布体验
### 🌟 核心特性
- **📱 多平台发布**: 支持微信公众号、小红书等平台,统一的发布体验
- **🎨 丰富主题**: 30+ 精美主题样式支持代码高亮和自定义CSS
- **🖼️ 智能图片处理**: 自动图片上传、格式转换、EXIF方向处理
- **📊 数学公式支持**: LaTeX 和 AsciiMath 双重语法支持
- **🚀 批量发布**: 高效的批量文章发布功能
- **⚡ 现代架构**: v1.4.0 全新模块化设计,更稳定、更高效
### 🏗️ 技术亮点
- **模块化核心系统**: 9个专业模块提供统一的错误处理、进度反馈、配置管理
- **类型安全**: 全面TypeScript覆盖零编译错误
- **性能优化**: 异步处理、智能缓存、模块化加载
- **扩展友好**: 标准化的平台接口,便于新平台接入
插件专注于保证文章格式的完美同步,而不是成为一个平台编辑器。通过现代化的架构设计,为用户提供流畅、稳定的发布体验。
### 图片方向自动处理
@@ -49,30 +96,28 @@
```
路径日志做了节流:同一文件 3 秒内不重复打印。后续可加"调试开关"以完全关闭。
### 摘要、封面裁剪、原文链接等ges/screenshot.png)
### 摘要、封面裁剪、原文链接等
## 2、安装
首先,**请确认已关闭了Obsidian的安全模式**。如未关闭,请通过**设置——第三方插件——关闭安全模式**关闭。
### 2.1 插件安装
#### 从官方**社区插件市场**安装
通过Obsidian**设置——第三方插件——社区插件市场**,输入**NoteToMP**搜索安装。
> [!TIP]
> **v1.4.0 提升**: 新版本采用模块化架构,安装更稳定,启动更快速!
首先,**请确认已关闭了Obsidian的安全模式**。如未关闭,请通过**设置——第三方插件——关闭安全模式**关闭。
### 2.1 插件安装
通过Obsidian**设置——第三方插件——社区插件市场**,输入**Note2Any**搜索安装。
🚩 TODO
### 2.2 主题资源安装
如果采用的是用从插件市场或者Github下载安装的方式在插件安装完成后还需要再下载主题资源。网盘里的安装包已经集成了主题样式无需下载。
**1通过设置下载**
为了尽可能保证插件符合官方规范主题和代码高亮需要打开Obsidian的**设置**界面,在底部的**第三方插件**——**Note to MP**——**获取更多主题**手动下载。
**2手动下载**
也可以直接在[Release](https://github.com/sunbooshi/note-to-mp/releases)页面下载`assets.zip`文件,解压后放到`.obsidian/plugins/note-to-mp/assets`目录下。
🚩 TODO
### 2.3 常见安装问题
**只有默认主题**
确认根据**2.2 主题资源安装**里的步骤操作了,然后检查一下插件目录内容,应如下所示:
```
.obsidian/plugins/note-to-mp/
.obsidian/plugins/note2any/
├── assets
│ ├── themes.json
│ ├── highlights.json
@@ -95,31 +140,36 @@
检查样式无误后,点击**复制**按钮,然后到公众号粘贴即可。
![](images/20240630221748.jpg)
### 🚀 主要功能
**公众号**
插件支持多公众号,在下拉菜单中进行不同公众号的切换。该功能需要订阅才能使用
**智能平台切换**
插件支持多平台发布,在下拉菜单中进行不同平台的切换。新架构提供更稳定的平台管理
**★ 复制**
检查样式无误后,点击**复制**按钮,然后到公众号编辑器粘贴即可。
**一键复制**
检查样式无误后,点击**复制**按钮,然后到平台编辑器粘贴即可。现在具有实时状态反馈。
**上传图片**
点击上传图片会将文章中的本地图片上传到微信公众号,同时会替换预览中的图片地址,而您原始文章中的图片地址不会替换。上传图片完成之后,此时点击“复制”,然后到微信公众号编缉器中粘贴就可以把图片带过去了。该功能需要订阅才能使用。
**智能图片处理**
- 自动上传本地图片到目标平台
- 支持WebP转JPG、EXIF方向自动处理
- 批量图片处理,进度可视化
- 点击上传图片会将文章中的本地图片上传到平台,同时替换预览中的图片地址
**草稿**
点击发草稿会上传文章中的本地图片,并且将文章发送到公众号的草稿箱,省去粘贴步骤。在文章正式发布之前还有一些选项需要您设置,比如文章摘要等。考虑到安全性,插件暂不提供直接发布功能。该功能需要订阅才能使用
**★ 草稿发布**
点击发草稿会上传文章中的本地图片,并且将文章发送到平台的草稿箱,省去粘贴步骤。新版本提供更可靠的上传机制
**★ 刷新**
如果笔记内容更新了,但是预览没有更新,可以点击一下刷新按钮。
**实时刷新**
如果笔记内容更新了,但是预览没有更新,可以点击刷新按钮。现在响应更加迅速。
**★ 封面**
发草稿必须设置文章封面,使用默认封面,是从您的永久素材中选取最近使用的作为封面,您需要在发布文章之前重新设置一下。本地上传则需要你选取一张本地图片作为封面。
**智能封面**
- 发草稿必须设置文章封面
- 支持默认封面、本地上传、自动提取首图
- 新增封面处理优化,确保显示效果
**★ 样式**
可以选取笔记的样式目前有30多款还在持续增加中。如果有钟意的样式可以在插件设置中设置为默认样式,这样就不用每次都点一下了
**丰富样式**
可以选取笔记的样式目前有30多款还在持续增加中。如果有钟意的样式可以在插件设置中设置为默认样式。
**★ 代码高亮**
设置代码高亮的样式。
设置代码高亮的样式,支持多种主题
### 数学公式使用指南
@@ -158,6 +208,36 @@ c=+-sqrt(a^2+b^2)
数学公式的渲染效果可以看这篇文章:[公众号文章里的数学公式排版秘籍](https://mp.weixin.qq.com/s/-kpT2U1gT_5W3TsDCAVgsw)👈️
### 自定义CSS使用指南
## 开发与构建
> [!INFO]
> **v1.4.0 架构升级**: 新版本采用模块化架构包含9个核心模块1400+行新代码,提供更好的开发体验!
### 🛠️ 构建系统
本仓库提供多种构建选项:
- `npm run build`:生成未混淆的 `main.js`,便于调试和开发
- `npm run build:obf`:生产模式启用 `javascript-obfuscator`,生成混淆后的 `main.js`
- `./build.sh`:执行默认构建并同步到本地 Obsidian 插件目录
- `./build.sh obf`:执行混淆构建后再进行同步
### 🏗️ 架构特性
**模块化设计**: 新版本将原有单体架构拆分为9个专业模块
- `ErrorHandler`: 统一错误处理
- `ProgressIndicator`: 进度反馈系统
- `ConfigManager`: 配置管理
- `PublisherInterface & PublisherManager`: 发布平台抽象
- `ContentProcessor`: 内容处理流水线
- `GalleryProcessor`: 图库处理
- `ImageProcessor`: 图像处理
- `HtmlProcessor`: HTML生成
**类型安全**: 全面TypeScript覆盖零编译错误提供完整的类型推导。
**性能优化**: 异步处理、智能缓存、模块化加载,提升用户体验。
如需自定义混淆行为,可在执行命令时设置环境变量(例如 `OBFUSCATE=1 npm run build:bundle`),详细参数见 `esbuild.config.mjs`。
新建一篇笔记,例如**自定义样式**,直接将如下内容粘贴进笔记:
````CSS
@@ -170,36 +250,36 @@ c=+-sqrt(a^2+b^2)
```
````
然后打开NoteToMP插件设置,将**自定义样式**即包含自定义CSS内容的笔记名称粘贴到**自定义CSS笔记**中即可。如果不使用自定义CSS留空即可。
然后打开Note2Any插件设置,将**自定义样式**即包含自定义CSS内容的笔记名称粘贴到**自定义CSS笔记**中即可。如果不使用自定义CSS留空即可。
关于自定义CSS的写法可以参考下面的代码
```css
/* 全局属性
* 这里可以设置字体,字体大小,边距,背景颜色等
*/
.note-to-mp {
.note2any {
/* 注:请在大括号内改写!!! */
}
/* 段落 */
.note-to-mp p {
.note2any p {
/* 注:请在大括号内改写!!! */
}
/* 一级标题 */
.note-to-mp h1 {
.note2any h1 {
/* 注:请在大括号内改写!!! */
}
/* 二级标题 */
.note-to-mp h2 {
.note2any h2 {
/* 注:请在大括号内改写!!! */
}
/* 三级标题 */
.note-to-mp h3 {
.note2any h3 {
/* 注:请在大括号内改写!!! */
}
@@ -207,38 +287,38 @@ c=+-sqrt(a^2+b^2)
/* 无序列表整体样式
* list-style-type: square|circle|disc;
*/
.note-to-mp ul {
.note2any ul {
/* 注:请在大括号内改写!!! */
}
/* 加粗 */
.note-to-mp strong {
.note2any strong {
/* 注:请在大括号内改写!!! */
}
/* 斜体 */
.note-to-mp em {
.note2any em {
/* 注:请在大括号内改写!!! */
}
/* 加粗斜体 */
.note-to-mp em strong {
.note2any em strong {
/* 注:请在大括号内改写!!! */
}
/* 删除线 */
.note-to-mp del {
.note2any del {
/* 注:请在大括号内改写!!! */
}
/* 分隔线
*/
.note-to-mp hr {
.note2any hr {
/* 注:请在大括号内改写!!! */
}
/* 图片
*/
.note-to-mp img {
.note2any img {
/* 注:请在大括号内改写!!! */
}
/*
@@ -281,7 +361,7 @@ c=+-sqrt(a^2+b^2)
例如这篇文章[几个让公众号排版更精致的小技巧,手机上也可以!](https://mp.weixin.qq.com/s/Q4_pV9TW8un3qZ0vrUvD1A)👈️使用的自定义样式如下:
```css
.note-to-mp {
.note2any {
font-family: Optima-regular, Optima, "Microsoft YaHei", PingFangSC-regular, serif;
}
@@ -306,7 +386,7 @@ section .note-callout-example {
background-color: rgba(90, 185, 131, 0.1);
}
```
上面的例子,通过`.note-to-mp`指定了文章的字体,通过`h2 strong`单独定义了h2标题下strong的样式这样可以在标题中通过使用粗体增加了一个边框样式。通过`h2`定义了h2标题的底部线条的宽度和文本颜色。这样配合**Olive Dunk**主题就形成了自己的风格。
上面的例子,通过`.note2any`指定了文章的字体,通过`h2 strong`单独定义了h2标题下strong的样式这样可以在标题中通过使用粗体增加了一个边框样式。通过`h2`定义了h2标题的底部线条的宽度和文本颜色。这样配合**Olive Dunk**主题就形成了自己的风格。
### 公众号名片
请参考 https://mp.weixin.qq.com/s/1wYd15Irmv9BPabgp5XMCA
@@ -334,7 +414,7 @@ NoteToMP插件支持该语法。
![[文件名称#^段落标记]]
```
在NoteToMP插件中有两种展示文件嵌入内容的样式一种是引用也就是Obsidian默认的方式一种是正文相当于模板的方式。与模板不同的是采用嵌入方式内容会跟随被嵌入文件的内容更改。
在Note2Any插件中有两种展示文件嵌入内容的样式一种是引用也就是Obsidian默认的方式一种是正文相当于模板的方式。与模板不同的是采用嵌入方式内容会跟随被嵌入文件的内容更改。
## 批量发布Batch Publish
@@ -356,7 +436,7 @@ NoteToMP插件支持该语法。
- 你想要把所有标记为 `篆刻` 的文章筛选出来,批量上传到公众号草稿箱并逐条完善后发布。
- 按文件夹 `content/post` 筛选并批量发布该文件夹下的近期文章。
### 详细使用指南(一步步)
### 使用指南
1. 打开模态
- 命令面板Ctrl/Cmd+P→ 输入“批量发布文章”,回车打开模态窗口。
@@ -524,26 +604,19 @@ https://www.bilibili.com/video/BV15XWVeEEJa/
```yaml
---
标题:
作者: 孙博士
作者: douboer
封面: "![[封面模板.jpeg]]"
摘要:
封面裁剪:
原文地址:
打开评论: true
仅粉丝可评论: true
公众号: 孙博士研究所
公众号: douboer
样式: MWeb Panic
代码高亮: docco
---
```
视频教程https://www.bilibili.com/video/BV15XWVeEEmA/
## 4、反馈交流群
**微信群:**
加微信:**Genius35Plus**,备注:**NoteToMP**
## 附:批量发布 - 快速交互速览与截图占位
如果你想把功能教学放到 README 中,这里是推荐的简短速览(已在模态中实现):
@@ -559,3 +632,24 @@ https://www.bilibili.com/video/BV15XWVeEEJa/
2. 在 README 中替换占位为图片预览并附带关键交互标注说明。
如果你更愿意手动截屏我也可以把一个标注模板SVG 或说明)发给你,方便手动粘贴到 `images/` 目录。
---
## 📚 相关文档
- [完整更新日志](./docs/CHANGELOG.md) - 查看所有版本的详细更新记录
- [版本发布信息](./docs/release.md) - 版本发布说明和技术细节
- [架构优化报告](./docs/docs/OPTIMIZATION_REPORT_v1.4.0.md) - v1.4.0架构升级详情
- [问题反馈](https://biboer.cn/gitea/gavin/note2any/issues) - 报告问题或提出建议
- [发布页面](https://biboer.cn/gitea/gavin/note2any/releases) - 下载最新版本
## 🤝 贡献
欢迎提交Issue和Pull Request来帮助改进Note2Any
## 📜 许可证
本项目基于相应许可证开源,详见项目仓库。

View File

@@ -1,563 +0,0 @@
## 更新说明
> [!IMPORTANT]
> NoteToMP 1.3.0版本对主题进行了优化,升级后请先清理旧版本主题文件,再重新下载新版主题。
>
> 操作步骤在NoteToMP插件设置中先点击『清空主题-清空』,然后点击『获取更多主题-下载』
>
> 注意:如果修改过主题文件请做备份后再操作。
完整历史变更请查看: [CHANGELOG](./CHANGELOG.md)
## 1、简介
这是一个Obsidian插件针对微信公众号编缉器进行了优化通过本插件复制笔记可以把笔记样式同步到公众号编缉器轻轻松松搞定文章格式一劳永逸而且支持代码高亮、代码行数显示、主题背景颜色等。针对微信公众号不能放链接也专门处理了提供直接展示链接地址和文末脚注展示两种方式。本项目初衷仅是为了能够将Obsidian中笔记的样式完美同步到微信公众号的编辑器中因此项目重点在于保证文章格式的一致性而不是成为一个微信公众号编辑器。
### 图片方向自动处理
为了优化微信公众号图片上传体验,插件新增了 EXIF 方向自动处理功能:
**功能说明:**
- 自动检测 JPEG 图片的 EXIF Orientation 信息
- 对存在方向问题的图片自动旋转并转换为 PNG 格式
- 确保上传到微信公众号的图片显示方向正确
**支持的方向类型:**
- `Orientation=1`:正常方向(无需处理)
- `Orientation=3`:需旋转 180°
- `Orientation=6`:需顺时针旋转 90°右旋 90°
- `Orientation=8`:需逆时针旋转 90°左旋 90°
**处理流程:**
1. 检测图片文件类型(仅处理 JPEG/JPG 格式)
2. 读取 EXIF 方向信息
3. 如有方向问题,使用 Canvas 进行旋转处理
4. 将处理后的图片转换为 PNG 格式上传
**用户体验:**
- 本地 Obsidian 中显示正常的图片,上传到公众号后也会保持正确方向
- 自动处理,无需用户手动调整
- 转换为 PNG 格式可避免 EXIF 信息导致的显示问题
### 调试日志
在控制台(开发者工具)可看到:
```
[note2mp] active file path: your/file/path.md
[note2mp] use default cover: cover.png -> ![[cover.png]]
[note2mp] EXIF orientation detected: 6
[note2mp] Image converted to PNG with rotation
```
路径日志做了节流:同一文件 3 秒内不重复打印。后续可加"调试开关"以完全关闭。
### 摘要、封面裁剪、原文链接等ges/screenshot.png)
## 2、安装
首先,**请确认已关闭了Obsidian的安全模式**。如未关闭,请通过**设置——第三方插件——关闭安全模式**关闭。
### 2.1 插件安装
#### 从官方**社区插件市场**安装
通过Obsidian**设置——第三方插件——社区插件市场**,输入**NoteToMP**搜索安装。
### 2.2 主题资源安装
如果采用的是用从插件市场或者Github下载安装的方式在插件安装完成后还需要再下载主题资源。网盘里的安装包已经集成了主题样式无需下载。
**1通过设置下载**
为了尽可能保证插件符合官方规范主题和代码高亮需要打开Obsidian的**设置**界面,在底部的**第三方插件**——**Note to MP**——**获取更多主题**手动下载。
**2手动下载**
也可以直接在[Release](https://github.com/sunbooshi/note-to-mp/releases)页面下载`assets.zip`文件,解压后放到`.obsidian/plugins/note-to-mp/assets`目录下。
### 2.3 常见安装问题
**只有默认主题**
确认根据**2.2 主题资源安装**里的步骤操作了,然后检查一下插件目录内容,应如下所示:
```
.obsidian/plugins/note-to-mp/
├── assets
│ ├── themes.json
│ ├── highlights.json
│ ├── themes
│ │ ├── maple.css
│ │ ├── mweb-ayu.css
│ │ └── ...
│ └── highlights
│ ├── a11y-dark.css
│ ├── a11y-light.css
│ └── ...
├── main.js
├── manifest.json
└── styles.css
```
## 3、使用
点击Obsidian左侧工具栏中的图标
![](images/clipboard-paste.png)或者按`Ctrl+P`打开命令,搜索**复制到公众号**。
检查样式无误后,点击**复制**按钮,然后到公众号粘贴即可。
![](images/20240630221748.jpg)
**★ 公众号**
插件支持多公众号,在下拉菜单中进行不同公众号的切换。该功能需要订阅才能使用。
**★ 复制**
检查样式无误后,点击**复制**按钮,然后到公众号编辑器粘贴即可。
**★ 上传图片**
点击上传图片会将文章中的本地图片上传到微信公众号,同时会替换预览中的图片地址,而您原始文章中的图片地址不会替换。上传图片完成之后,此时点击“复制”,然后到微信公众号编缉器中粘贴就可以把图片带过去了。该功能需要订阅才能使用。
**★ 发草稿**
点击发草稿会上传文章中的本地图片,并且将文章发送到公众号的草稿箱,省去粘贴步骤。在文章正式发布之前还有一些选项需要您设置,比如文章摘要等。考虑到安全性,插件暂不提供直接发布功能。该功能需要订阅才能使用。
**★ 刷新**
如果笔记内容更新了,但是预览没有更新,可以点击一下刷新按钮。
**★ 封面**
发草稿必须设置文章封面,使用默认封面,是从您的永久素材中选取最近使用的作为封面,您需要在发布文章之前重新设置一下。本地上传则需要你选取一张本地图片作为封面。
**★ 样式**
可以选取笔记的样式目前有30多款还在持续增加中。如果有钟意的样式可以在插件设置中设置为默认样式这样就不用每次都点一下了。
**★ 代码高亮**
设置代码高亮的样式。
### 数学公式使用指南
- [LaTeX使用指南从入门到精通 - 少数派](https://sspai.com/post/77684)
- [通用 LaTeX 数学公式语法手册 - UinIO.com 电子技术实验室](http://www.uinio.com/Math/LaTex/)
- [AsciiMath Parser 🚀 Asciimath Parser](https://asciimath.widcard.win/zh/introduction/)
- [AsciiMath](https://asciimath.org/)
目前插件支持LaTeX和AsciiMath两种数学公式语法对于公式输入不是特别频繁而且不怎么熟悉LaTeX的用户来说可以尝试使用AsciiMathAsciiMath相对简单一些可以现学现用直接在官网查找手册编写就可以了。因为在正常的Markdown语法中无法区分采用的是哪种数学公式语法所以需要在插件中设置默认的数学公式语法默认是LaTeX语法。对于有混写需求的朋友来说可以采用代码块的语法来写数学公式然后指定latex或者asciimath来明确当前语法。但使用代码块语法的时候在Obsidian中并不能实时预览公式。
如果需要使用AsciiMath还需要安装asciimath插件才能在Obsidian中实时预览不过asciimath插件的解析器和官方的语法有一些差异主要体现在矩阵写法上所以使用时也需注意。另外需要特别提醒的是AsciiMath不支持在一个语法块中写多行公式所以如果要写多行公式只能每行公式单独写一个语法块。LaTeX是支持多行公式的。
数学公式的专业性很强,我也无法全面测试,如果遇到无法正常渲染的情况,欢迎反馈。
````markdown
行内公式:$c=\pm\sqrt{a^2+b^2}$
行间公式:
$$
c=\pm\sqrt{a^2+b^2}
$$
使用代码块方式可以指定公式语法,该方法仅适用行间公式。
采用latex语法的数学公式
``` latex
c=\pm\sqrt{a^2+b^2}
```
采用asciimath的数学公式
``` am
c=+-sqrt(a^2+b^2)
```
````
数学公式的渲染效果可以看这篇文章:[公众号文章里的数学公式排版秘籍](https://mp.weixin.qq.com/s/-kpT2U1gT_5W3TsDCAVgsw)👈️
### 自定义CSS使用指南
新建一篇笔记,例如**自定义样式**,直接将如下内容粘贴进笔记:
````CSS
```CSS
.note-to-mp {
font-family: Optima, Optima-regular, "Microsoft YaHei", PingFangSC-regular, serif;
padding: 0;
background-color: #FFFFFF;
}
```
````
然后打开NoteToMP插件设置将**自定义样式**即包含自定义CSS内容的笔记名称粘贴到**自定义CSS笔记**中即可。如果不使用自定义CSS留空即可。
关于自定义CSS的写法可以参考下面的代码
```css
/* 全局属性
* 这里可以设置字体,字体大小,边距,背景颜色等
*/
.note-to-mp {
/* 注:请在大括号内改写!!! */
}
/* 段落 */
.note-to-mp p {
/* 注:请在大括号内改写!!! */
}
/* 一级标题 */
.note-to-mp h1 {
/* 注:请在大括号内改写!!! */
}
/* 二级标题 */
.note-to-mp h2 {
/* 注:请在大括号内改写!!! */
}
/* 三级标题 */
.note-to-mp h3 {
/* 注:请在大括号内改写!!! */
}
/* 无序列表整体样式
* list-style-type: square|circle|disc;
*/
.note-to-mp ul {
/* 注:请在大括号内改写!!! */
}
/* 加粗 */
.note-to-mp strong {
/* 注:请在大括号内改写!!! */
}
/* 斜体 */
.note-to-mp em {
/* 注:请在大括号内改写!!! */
}
/* 加粗斜体 */
.note-to-mp em strong {
/* 注:请在大括号内改写!!! */
}
/* 删除线 */
.note-to-mp del {
/* 注:请在大括号内改写!!! */
}
/* 分隔线
*/
.note-to-mp hr {
/* 注:请在大括号内改写!!! */
}
/* 图片
*/
.note-to-mp img {
/* 注:请在大括号内改写!!! */
}
/*
* 文件嵌入引用
*/
.note-embed-file {
/* 注:请在大括号内改写!!! */
}
/*
* 高亮颜色
*/
.note-highlight {
/* background-color: rgba(255,208,0, 0.4); */
}
/*
* Callout
* 可以调整各种类型Callout的文字颜色和背景颜色
* color: rgb(158, 158, 158);
* background-color: rgba(158, 158, 158, 0.1);
*/
.note-callout-note {
}
/* abstract tip hint */
.note-callout-abstract {
}
.note-callout-success {
}
/* question help, faq, warning, caution, attention */
.note-callout-question {
}
/* failure, fail, missing, danger, error, bug */
.note-callout-failure {
}
.note-callout-example {
}
.note-callout-quote {
}
```
例如这篇文章[几个让公众号排版更精致的小技巧,手机上也可以!](https://mp.weixin.qq.com/s/Q4_pV9TW8un3qZ0vrUvD1A)👈️使用的自定义样式如下:
```css
.note-to-mp {
font-family: Optima-regular, Optima, "Microsoft YaHei", PingFangSC-regular, serif;
}
h2 strong {
display: inline-block;
background: rgb(90, 185, 131);
color: rgb(255, 255, 255);
padding: 2px 16px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
margin-right: 10px;
visibility: visible;
}
h2 {
border-bottom: rgb(90, 185, 131) 2px solid;
color: rgb(90, 185, 131);
}
section .note-callout-example {
color: rgb(90, 185, 131);
background-color: rgba(90, 185, 131, 0.1);
}
```
上面的例子,通过`.note-to-mp`指定了文章的字体,通过`h2 strong`单独定义了h2标题下strong的样式这样可以在标题中通过使用粗体增加了一个边框样式。通过`h2`定义了h2标题的底部线条的宽度和文本颜色。这样配合**Olive Dunk**主题就形成了自己的风格。
### 公众号名片
请参考 https://mp.weixin.qq.com/s/1wYd15Irmv9BPabgp5XMCA
### 设置图片大小
在Obsidian中可以设置图片的大小语法如下
```markdown
![[1.jpg|120x80]] 设置图片的宽度和高度
![[1.jpg|120]] 设置图片的宽度,高度按比例缩放
```
NoteToMP插件支持该语法。
### 文件嵌入
文件嵌入是Obsidian一个很有用的功能可以直接展示其它文件中的段落、章节。在写公众号的时候可以将以前文章的内容引用展示也可以将该功能当作模板使用。
文件嵌入的语法如下:
```markdown
![[文件名称#章节标题]]
![[文件名称#^段落标记]]
```
在NoteToMP插件中有两种展示文件嵌入内容的样式一种是引用也就是Obsidian默认的方式一种是正文相当于模板的方式。与模板不同的是采用嵌入方式内容会跟随被嵌入文件的内容更改。
## 批量发布Batch Publish
从 v1.3 起,插件新增“批量发布文章”功能,方便把满足条件的一批文章批量发送到公众号草稿箱以便后续编辑与发布。
如何打开在命令面板Ctrl/Cmd+P中搜索“批量发布文章”或在插件命令中找到“批量发布文章”。
主要功能:
- 条件筛选按标签tag、文件名关键字、文件夹路径、及 frontmatter 字段进行筛选,支持 AND/OR 逻辑组合(当前为 AND 默认行为)。
- 预览与选择:筛选结果以列表展示,支持单个复选、全选、取消全选,以及鼠标拖拽框选(常规拖拽为添加选择,按 Ctrl/Cmd 拖拽为取消选择)。
- 批量发布:点击“发布选中文章”后会依次调用渲染与上传流程(与单篇发布同一实现),每篇之间有 2s 延迟以降低并发请求风险。发布过程中会显示进度通知并在结束汇总成功/失败数量。
注意事项:
- 批量发布会激活 NotePreview 视图并复用其渲染/上传逻辑,若无法取得 NotePreview将无法完成发布。
- 单篇发布失败不会中断整体流程,失败项会在结束时统计并提示。
- 为避免误操作,建议先在小范围内测试筛选条件与发布流程再对大量文件执行批量发布。
示例使用场景:
- 你想要把所有标记为 `篆刻` 的文章筛选出来,批量上传到公众号草稿箱并逐条完善后发布。
- 按文件夹 `content/post` 筛选并批量发布该文件夹下的近期文章。
### 详细使用指南(一步步)
1. 打开模态
- 命令面板Ctrl/Cmd+P→ 输入“批量发布文章”,回车打开模态窗口。
2. 设置筛选条件
- 按标签:在“按标签筛选”中输入标签名(例如 `篆刻`)。
- 按文件名:输入关键词(例如 `教程`)。
- 按文件夹:输入路径(例如 `content/post`)。默认值已预填为 `content/post`。
- 按 frontmatter目前可通过自定义筛选扩展未来计划支持更复杂的 frontmatter 表达式)。
3. 回车快速应用
- 在任一输入框中按回车将立即执行“应用筛选”。
4. 选择文章
- 使用复选框逐条选择;点击行的任意位置也会切换对应复选框。
- 使用鼠标拖拽进行框选:不按修饰键时为“添加选择”,按住 Ctrl/Cmd 时为“取消选择”。
- 支持“全选/取消全选”复选框。
5. 批量发布
- 点击“发布选中文章”开始发布。发布会按顺序执行并在每篇之间等待 2 秒。
- 发布过程中会显示进度提示Notice发布结束会弹出成功/失败汇总。
### 筛选示例(可参考)
- 筛选有 `篆刻` 标签的文章:在标签输入框输入 `篆刻`,按回车。
- 筛选文件名包含 `教程` 的文章:在文件名输入框输入 `教程`。
- 同时按标签和目录筛选:标签输入 `篆刻`,文件夹输入 `content/post`,按回车。
### 常见问题与故障排查
- 无法发布或没有响应:检查是否已激活 `NotePreview` 视图(插件会在发布前尝试激活);如果视图打开失败,尝试手动打开插件右侧的预览窗格再重试。
- 部分文章发布失败:失败不会中断整体流程,发布结束时会通知失败数量。点击失败项单独重试发布。
- 图片上传失败或方向错误:插件会自动处理 JPEG 的 EXIF 方向并转换为 PNG若仍有问题请检查图片是否受损或在 `开发者工具` 查看日志(节流为 3 秒同一路径)。
- 筛选结果为空:确认筛选条件是否正确(区分目录路径、标签是否存在、关键词是否拼写正确)。可以先留空所有条件查看全部可用文章,然后逐项缩小范围。
### 配置说明(相关设置)
- `defaultCoverPic`:默认封面文件名(默认 `cover.png`),当文章没有 frontmatter 封面与正文首图时使用。
- `galleryNumPic`Gallery 展开时默认选取的图片数量(可在设置中调整)。
- `batchPublishPresets`:预设筛选模板(可在插件设置中新增常用筛选项)。
### 使用建议与最佳实践
- 先在少量文章上试运行一次批量发布,确认模板、封面与图片上传逻辑满足需求,再对大量文件执行批量发布。
- 如果担心频率限制或网络不稳定,可在代码中调整发布间隔(当前为 2s或分批次发布以降低失败率。
- 建议为常用筛选条件创建 Preset设置中节省重复输入时间。
### 示例:把 database 视图筛选规则映射到模态
如果你使用 Obsidian Dataview 或内置视图创建了如下视图:
```yaml
views:
- type: table
name: 表格
filters:
and:
- file.tags.contains("篆刻")
order:
- file.name
```
在模态中相当于:标签输入 `篆刻`,排序选择按 `文件名name`。
---
如果你还需要我把一张示例截图(标注关键按钮)加入 README我可以把占位图片生成并放到 `images/` 目录(需要你允许我在本地生成渲染的图片),或者我可以为你准备好截图模板与标注位置说明,方便你手动截屏粘贴。
### 插入SVG图标
https://www.bilibili.com/video/BV15XWVeEEJa/
### Gallery 短代码支持
自 1.x 版本起,插件支持将形如 Hugo/Hexo 风格的短代码:
```
{{<gallery dir="/img/guanzhan/1" figcaption="毕业展"/>}}{{<load-photoswipe>}}
```
在渲染阶段自动展开为若干行图片 WikiLink
```
![[001.jpg]]
![[002.jpg]]
```
可选参数新增:
`mppickall=1` 选取目录中所有图片忽略“Gallery 选取图片数”限制);`mppickall=0` 或缺省时按配置的数量限制。支持写法:`mppickall=1`、`mppickall='1'`、`mppickall="1"`0 同理)。
示例:
```
{{<gallery dir="/img/guanzhan/1" mppickall=1/>}}{{<load-photoswipe>}}
```
或属性顺序不同、带 figcaption
```
{{<gallery dir="/img/guanzhan/1" figcaption="毕业展" mppickall=1/>}}{{<load-photoswipe>}}
```
在 `mppickall=1` 情况下,仍保持文件名排序(同原逻辑)。
配置项:
- Gallery 根路径galleryPrePath指向本地实际图片根目录用于拼接短代码中的 dir 得到真实磁盘路径。
- Gallery 选取图片数galleryNumPic每个 gallery 最多展开前 N 张图片(按文件名排序)。
可在插件设置界面直接修改,无需重启。若希望随机选取或按时间排序,可后续在 issue 中反馈需求。若需要永久“全部图片”效果,可同时将“选取图片数”设为一个足够大的值,或在需要的单个 gallery 上使用 `mppickall=1` 精确控制。
### Gallery 块与 figure 支持
除了带 dir 的短代码,还支持块级:
```
{{<gallery>}}
{{<figure src="/img/a.jpg" caption="说明" >}}
{{<figure link="/img/b.png" caption="说明" >}}
{{</gallery>}}
```
渲染为:
```
![[a.jpg]]
![[b.png]]
```
说明:
- 支持 `src` 或 `link` 属性任选其一。
- `caption` 当前忽略(可后续增强:写入 `![[file|caption]]` 或紧随段落)。
- 去重/排序策略:按出现顺序,文件名原样。
### 自定义行级语法扩展
为提升公众号排版效率,插件内置以下“轻语法”转换(发生在 Markdown 解析前):
1. 斜体标注:`[fig 一段说明 /]` → `<span style="font-style:italic;...">一段说明</span>`
2. 彩色提示块(只作用当前这一行,不跨行):
- `|| 内容` 默认灰底
- `||r 内容` 棕底白字
- `||g 内容` 黄绿色背景
- `||b 内容` 浅灰背景
- `||y 内容` 浅黄背景
这些语法不会写回原笔记,只影响发布预览。后续可加入:类名替换 + 主题化配置 + caption 支持,欢迎反馈需求。
### 无图片时的默认封面
自动封面选择优先级:
1. frontmatter: cover / image非空
2. 正文首图Markdown 或 WikiLink
3. Gallery 短代码 / 块展开得到的首图
4. 默认封面 `defaultCoverPic`(设置面板可配置,默认 `cover.png`
配置说明:
- 若填写文件名(如 `cover.png`),会按当前笔记目录解析并包装为 `![[cover.png]]`。
- 若填写完整 `![[xxx]]` 语法或 `http(s)://` URL将原样使用。
- 若文件不存在,不会报错(可后续增加存在性提示)。
### Frontmatter 解析回退
如果 Obsidian `metadataCache` 暂未命中(例如首次载入或缓存延迟),插件会手动对首段 `---` YAML 进行轻量行级解析,提取:
- title / author / cover(image)
避免因为缓存未就绪导致标题/作者缺失。若需复杂 YAML数组、多行字符串建议等待官方缓存或后续考虑引入完整 YAML 解析库。
### 摘要、封面裁剪、原文链接等
```yaml
---
标题:
作者: 孙博士
封面: "![[封面模板.jpeg]]"
摘要:
封面裁剪:
原文地址:
打开评论: true
仅粉丝可评论: true
公众号: 孙博士研究所
样式: MWeb Panic
代码高亮: docco
---
```
视频教程https://www.bilibili.com/video/BV15XWVeEEmA/
## 4、反馈交流群
**微信群:**
加微信:**Genius35Plus**,备注:**NoteToMP**
![](images/20240702203745.jpg)
## 附:批量发布 - 快速交互速览与截图占位
如果你想把功能教学放到 README 中,这里是推荐的简短速览(已在模态中实现):
- 回车快速应用:在任一筛选输入框中按回车即可触发“应用筛选”,无需额外点击按钮。
- 鼠标框选:在结果列表中按住鼠标左键并拖拽可以创建选择框,松开后会添加范围内的文章为选中状态。
- Ctrl/Cmd + 拖拽:按住 Ctrl或 macOS 上的 Cmd/Meta再拖拽会把框内的文章从当前选择中取消方便进行批量取消选中
- 全选/取消全选:列表顶部提供全选复选框,一键切换所有结果的选择状态。
截图占位:如果你希望我把一张带标注的示例截图放到 `images/`,请回复“可以生成截图”,我会:
1. 在 `images/` 中放置占位文件 `batch-publish-example.png`(示例标注),
2. 在 README 中替换占位为图片预览并附带关键交互标注说明。
如果你更愿意手动截屏我也可以把一个标注模板SVG 或说明)发给你,方便手动粘贴到 `images/` 目录。

View File

@@ -1,74 +0,0 @@
# Note2MP 里程碑版本 v1.3.0
## 版本信息
- **版本号**: v1.3.0
- **发布日期**: 2024年9月27日
- **Git Tag**: v1.3.0
- **Git Branch**: release/v1.3.0
- **Git Commit**: 50e8d61
## 主要功能特性
### 批量发布系统
- 完整的数据库式文章筛选功能
- 支持标签、文件名、文件夹多维度筛选
- 日期范围筛选和排序选项
- 批量选择和发布进度追踪
### 高级UI交互
- 鼠标拖拽多选功能
- Ctrl键修饰符支持
- 滚动容器偏移处理
- 响应式界面设计
### 图库功能增强
- mppickall参数支持 (mppickall=1)
- 支持多种引号格式: `mppickall=1`, `mppickall='1'`, `mppickall="1"`
- EXIF图片方向自动处理
- JPEG转PNG转换优化
### 文档和代码质量
- 全面的中文代码注释
- 详细设计文档 (detaildesign.md)
- 架构图表文档 (diagrams.md with Mermaid)
- 完整的变更日志和README
## 归档内容
- `main.js` - 构建后的插件主文件
- `manifest.json` - Obsidian插件清单
- `styles.css` - 样式文件
- `package.json` - 项目依赖信息
- `README.md` - 项目说明文档
- `CHANGELOG.md` - 变更日志
- `detaildesign.md` - 详细设计文档
- `diagrams.md` - 架构图表文档
- `source-snapshot-v1.3.0.tar.gz` - 完整源代码快照
## 回滚说明
如需回滚到此版本:
1. **使用Git Tag回滚**:
```bash
git checkout v1.3.0
git checkout -b rollback-to-v1.3.0
```
2. **使用发布分支**:
```bash
git checkout release/v1.3.0
```
3. **使用源代码快照**:
```bash
tar -xzf archives/v1.3.0/source-snapshot-v1.3.0.tar.gz
```
## 版本对比
此版本可作为后续重大修改的对比基准。主要用于:
- 功能回归测试
- 性能对比分析
- 代码架构变更评估
- 稳定性基准对比
---
*此版本为稳定的里程碑版本,建议在进行大规模代码修改前保存此状态。*

View File

@@ -1,10 +0,0 @@
{
"id": "note-to-mp",
"name": "NoteToMP",
"version": "1.3.0",
"minAppVersion": "1.4.5",
"description": "Send notes to WeChat MP drafts, or copy notes to WeChat MP editor, perfect preservation of note styles, support code highlighting, line numbers in code, and support local image uploads.",
"author": "Sun Booshi",
"authorUrl": "https://sunboshi.tech",
"isDesktopOnly": false
}

View File

@@ -1,32 +0,0 @@
{
"name": "note-to-mp",
"version": "1.3.0",
"description": "This is a plugin for Obsidian (https://obsidian.md)",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"download": "node tools/download.mjs",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4"
},
"dependencies": {
"@zip.js/zip.js": "^2.7.43",
"highlight.js": "^11.9.0",
"html-to-image": "^1.11.11",
"marked": "^12.0.1",
"marked-highlight": "^2.1.3"
}
}

View File

@@ -1,142 +0,0 @@
/* archives/v1.3.0/styles.css — 归档版本的样式文件。 */
/* =========================================================== */
/* UI 样式 */
/* =========================================================== */
.note-preview {
min-height: 100%;
width: 100%;
height: 100%;
background-color: #fff;
display: flex;
flex-direction: column;
}
.render-div {
flex: 1;
overflow-y: auto;
padding: 10px;
}
.preview-toolbar {
position: relative;
min-height: 100px;
border-bottom: #e4e4e4 1px solid;
background-color: var(--background-primary);
}
.toolbar-line {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
margin: 10px 10px;
}
.copy-button {
margin-right: 10px;
}
.refresh-button {
margin-right: 10px;
}
.upload-input {
margin-left: 10px;
visibility: hidden;
width: 0px;
}
.style-label {
margin-right: 10px;
}
.style-select {
margin-right: 10px;
width: 120px;
}
.msg-view {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--background-primary);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 18px;
z-index: 9999;
display: none;
}
.msg-title {
margin-bottom: 20px;
max-width: 90%;
}
.note-mpcard-wrapper {
margin: 20px 20px;
background-color: rgb(250, 250, 250);
padding: 10px 20px;
border-radius: 10px;
}
.note-mpcard-content {
display: flex;
}
.note-mpcard-headimg {
border: none !important;
border-radius: 27px !important;
box-shadow: none !important;
width: 54px !important;
height: 54px !important;
margin: 0 !important;
}
.note-mpcard-info {
margin-left: 10px;
}
.note-mpcard-nickname {
font-size: 17px;
font-weight: 500;
color: rgba(0, 0, 0, 0.9);
}
.note-mpcard-signature {
font-size: 14px;
color: rgba(0, 0, 0, 0.55);
}
.note-mpcard-foot {
margin-top: 20px;
padding-top: 10px;
border-top: 1px solid #ececec;
font-size: 14px;
color: rgba(0, 0, 0, 0.3);
}
.loading-wrapper {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
}
.loading-spinner {
width: 50px; /* 可调整大小 */
height: 50px;
border: 4px solid #fcd6ff; /* 底色,浅灰 */
border-top: 4px solid #bb0cdf; /* 主色,蓝色顶部产生旋转感 */
border-radius: 50%; /* 圆形 */
animation: spin 1s linear infinite; /* 旋转动画 */
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

298
assets/highlights.json Normal file
View File

@@ -0,0 +1,298 @@
[
{
"name": "a11y-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/a11y-dark.css"
},
{
"name": "a11y-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/a11y-light.css"
},
{
"name": "agate",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/agate.css"
},
{
"name": "an-old-hope",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/an-old-hope.css"
},
{
"name": "androidstudio",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/androidstudio.css"
},
{
"name": "arduino-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/arduino-light.css"
},
{
"name": "arta",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/arta.css"
},
{
"name": "ascetic",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/ascetic.css"
},
{
"name": "atom-one-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/atom-one-dark.css"
},
{
"name": "atom-one-dark-reasonable",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/atom-one-dark-reasonable.css"
},
{
"name": "atom-one-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/atom-one-light.css"
},
{
"name": "brown-paper",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/brown-paper.css"
},
{
"name": "brown-papersq.png",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/brown-papersq.png.css"
},
{
"name": "codepen-embed",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/codepen-embed.css"
},
{
"name": "color-brewer",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/color-brewer.css"
},
{
"name": "dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/dark.css"
},
{
"name": "default",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/default.css"
},
{
"name": "devibeans",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/devibeans.css"
},
{
"name": "docco",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/docco.css"
},
{
"name": "far",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/far.css"
},
{
"name": "felipec",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/felipec.css"
},
{
"name": "foundation",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/foundation.css"
},
{
"name": "github",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/github.css"
},
{
"name": "github-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/github-dark.css"
},
{
"name": "github-dark-dimmed",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/github-dark-dimmed.css"
},
{
"name": "gml",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/gml.css"
},
{
"name": "googlecode",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/googlecode.css"
},
{
"name": "gradient-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/gradient-dark.css"
},
{
"name": "gradient-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/gradient-light.css"
},
{
"name": "grayscale",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/grayscale.css"
},
{
"name": "hybrid",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/hybrid.css"
},
{
"name": "idea",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/idea.css"
},
{
"name": "intellij-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/intellij-light.css"
},
{
"name": "ir-black",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/ir-black.css"
},
{
"name": "isbl-editor-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/isbl-editor-dark.css"
},
{
"name": "isbl-editor-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/isbl-editor-light.css"
},
{
"name": "kimbie-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/kimbie-dark.css"
},
{
"name": "kimbie-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/kimbie-light.css"
},
{
"name": "lightfair",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/lightfair.css"
},
{
"name": "lioshi",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/lioshi.css"
},
{
"name": "magula",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/magula.css"
},
{
"name": "mono-blue",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/mono-blue.css"
},
{
"name": "monokai",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/monokai.css"
},
{
"name": "monokai-sublime",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/monokai-sublime.css"
},
{
"name": "night-owl",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/night-owl.css"
},
{
"name": "nnfx-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/nnfx-dark.css"
},
{
"name": "nnfx-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/nnfx-light.css"
},
{
"name": "nord",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/nord.css"
},
{
"name": "obsidian",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/obsidian.css"
},
{
"name": "panda-syntax-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/panda-syntax-dark.css"
},
{
"name": "panda-syntax-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/panda-syntax-light.css"
},
{
"name": "paraiso-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/paraiso-dark.css"
},
{
"name": "paraiso-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/paraiso-light.css"
},
{
"name": "pojoaque",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/pojoaque.css"
},
{
"name": "pojoaque.jpg",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/pojoaque.jpg.css"
},
{
"name": "purebasic",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/purebasic.css"
},
{
"name": "qtcreator-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/qtcreator-dark.css"
},
{
"name": "qtcreator-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/qtcreator-light.css"
},
{
"name": "rainbow",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/rainbow.css"
},
{
"name": "routeros",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/routeros.css"
},
{
"name": "school-book",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/school-book.css"
},
{
"name": "shades-of-purple",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/shades-of-purple.css"
},
{
"name": "srcery",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/srcery.css"
},
{
"name": "stackoverflow-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/stackoverflow-dark.css"
},
{
"name": "stackoverflow-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/stackoverflow-light.css"
},
{
"name": "sunburst",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/sunburst.css"
},
{
"name": "tokyo-night-dark",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/tokyo-night-dark.css"
},
{
"name": "tokyo-night-light",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/tokyo-night-light.css"
},
{
"name": "tomorrow-night-blue",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/tomorrow-night-blue.css"
},
{
"name": "tomorrow-night-bright",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/tomorrow-night-bright.css"
},
{
"name": "vs",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/vs.css"
},
{
"name": "vs2015",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/vs2015.css"
},
{
"name": "xcode",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/xcode.css"
},
{
"name": "xt256",
"url": "https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/xt256.css"
}
]

View File

@@ -0,0 +1,94 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: a11y-dark
Author: @ericwbailey
Maintainer: @ericwbailey
Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
*/
.hljs {
background: #2b2b2b;
color: #f8f8f2
}
/* Comment */
.hljs-comment,
.hljs-quote {
color: #d4d0ab
}
/* Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #ffa07a
}
/* Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #f5ab35
}
/* Yellow */
.hljs-attribute {
color: #ffd700
}
/* Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #abe338
}
/* Blue */
.hljs-title,
.hljs-section {
color: #00e0e0
}
/* Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #dcc6e0
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
@media screen and (-ms-high-contrast: active) {
.hljs-addition,
.hljs-attribute,
.hljs-built_in,
.hljs-bullet,
.hljs-comment,
.hljs-link,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-params,
.hljs-string,
.hljs-symbol,
.hljs-type,
.hljs-quote {
color: highlight
}
.hljs-keyword,
.hljs-selector-tag {
font-weight: bold
}
}

View File

@@ -0,0 +1,94 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: a11y-light
Author: @ericwbailey
Maintainer: @ericwbailey
Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
*/
.hljs {
background: #fefefe;
color: #545454
}
/* Comment */
.hljs-comment,
.hljs-quote {
color: #696969
}
/* Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #d91e18
}
/* Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #aa5d00
}
/* Yellow */
.hljs-attribute {
color: #aa5d00
}
/* Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #008000
}
/* Blue */
.hljs-title,
.hljs-section {
color: #007faa
}
/* Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #7928a1
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
@media screen and (-ms-high-contrast: active) {
.hljs-addition,
.hljs-attribute,
.hljs-built_in,
.hljs-bullet,
.hljs-comment,
.hljs-link,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-params,
.hljs-string,
.hljs-symbol,
.hljs-type,
.hljs-quote {
color: highlight
}
.hljs-keyword,
.hljs-selector-tag {
font-weight: bold
}
}

127
assets/highlights/agate.css Normal file
View File

@@ -0,0 +1,127 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: Agate
Author: (c) Taufik Nurrohman <hi@taufik-nurrohman.com>
Maintainer: @taufik-nurrohman
Updated: 2021-04-24
#333
#62c8f3
#7bd694
#888
#a2fca2
#ade5fc
#b8d8a2
#c6b4f0
#d36363
#fc9b9b
#fcc28c
#ffa
#fff
*/
.hljs {
background: #333;
color: #fff
}
.hljs-doctag,
.hljs-meta-keyword,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-code,
.hljs-emphasis {
font-style: italic
}
.hljs-section,
.hljs-tag {
color: #62c8f3
}
.hljs-selector-class,
.hljs-selector-id,
.hljs-template-variable,
.hljs-variable {
color: #ade5fc
}
.hljs-meta-string,
.hljs-string {
color: #a2fca2
}
.hljs-attr,
.hljs-quote,
.hljs-selector-attr {
color: #7bd694
}
.hljs-tag .hljs-attr {
color: inherit
}
.hljs-attribute,
.hljs-title,
.hljs-type {
color: #ffa
}
.hljs-number,
.hljs-symbol {
color: #d36363
}
.hljs-bullet,
.hljs-template-tag {
color: #b8d8a2
}
.hljs-built_in,
.hljs-keyword,
.hljs-literal,
.hljs-selector-tag {
color: #fcc28c
}
.hljs-code,
.hljs-comment,
.hljs-formula {
color: #888
}
.hljs-link,
.hljs-selector-pseudo,
.hljs-regexp {
color: #c6b4f0
}
.hljs-meta {
color: #fc9b9b
}
.hljs-deletion {
background: #fc9b9b;
color: #333
}
.hljs-addition {
background: #a2fca2;
color: #333
}
/* Purposely ignored */
.hljs-operator,
.hljs-params,
.hljs-property,
.hljs-punctuation {
}
.hljs-subst {
color: #fff
}
/* This applies only if HTML auto-merging plugin is enabled by user (#2889) */
.hljs a {
color: inherit
}
.hljs a:focus,
.hljs a:hover {
color: inherit;
text-decoration: underline
}
.hljs mark {
background: #555;
color: inherit
}

View File

@@ -0,0 +1,75 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: An Old Hope Star Wars Syntax
Author: (c) Gustavo Costa <gusbemacbe@gmail.com>
Maintainer: @gusbemacbe
Original theme - Ocean Dark Theme by https://github.com/gavsiu
Based on Jesse Leite's Atom syntax theme 'An Old Hope'
https://github.com/JesseLeite/an-old-hope-syntax-atom
*/
/* Millenium Falcon */
.hljs {
background: #1C1D21;
color: #c0c5ce
}
/* Death Star Comment */
.hljs-comment,
.hljs-quote {
color: #B6B18B
}
/* Darth Vader */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #EB3C54
}
/* Threepio */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #E7CE56
}
/* Luke Skywalker */
.hljs-attribute {
color: #EE7C2B
}
/* Obi Wan Kenobi */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #4FB4D7
}
/* Yoda */
.hljs-title,
.hljs-section {
color: #78BB65
}
/* Mace Windu */
.hljs-keyword,
.hljs-selector-tag {
color: #B45EA4
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,60 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Date: 24 Fev 2015
Author: Pedro Oliveira <kanytu@gmail . com>
*/
.hljs {
color: #a9b7c6;
background: #282b2e
}
.hljs-number,
.hljs-literal,
.hljs-symbol,
.hljs-bullet {
color: #6897BB
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-deletion {
color: #cc7832
}
.hljs-variable,
.hljs-template-variable,
.hljs-link {
color: #629755
}
.hljs-comment,
.hljs-quote {
color: #808080
}
.hljs-meta {
color: #bbb529
}
.hljs-string,
.hljs-attribute,
.hljs-addition {
color: #6A8759
}
.hljs-section,
.hljs-title,
.hljs-type {
color: #ffc66d
}
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
color: #e8bf6a
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,78 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
*/
.hljs {
background: white;
color: #434f54
}
.hljs-subst {
color: #434f54
}
.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-doctag,
.hljs-name {
color: #00979D
}
.hljs-built_in,
.hljs-literal,
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #D35400
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #00979D
}
.hljs-type,
.hljs-string,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #005C5F
}
.hljs-comment {
color: rgba(149,165,166,.8)
}
.hljs-meta .hljs-keyword {
color: #728E00
}
.hljs-meta {
color: #434f54
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-function {
color: #728E00
}
.hljs-title,
.hljs-section {
color: #880000;
font-weight: bold
}
.hljs-number {
color: #8A7B52
}

View File

@@ -0,0 +1,66 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Date: 17.V.2011
Author: pumbur <pumbur@pumbur.net>
*/
.hljs {
background: #222;
color: #aaa
}
.hljs-subst {
color: #aaa
}
.hljs-section {
color: #fff
}
.hljs-comment,
.hljs-quote,
.hljs-meta {
color: #444
}
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-regexp {
color: #ffcc33
}
.hljs-number,
.hljs-addition {
color: #00cc66
}
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-template-variable,
.hljs-attribute,
.hljs-link {
color: #32aaee
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
color: #6644aa
}
.hljs-title,
.hljs-variable,
.hljs-deletion,
.hljs-template-tag {
color: #bb1166
}
.hljs-section,
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,45 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
*/
.hljs {
background: white;
color: black
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-symbol,
.hljs-bullet,
.hljs-section,
.hljs-addition,
.hljs-attribute,
.hljs-link {
color: #888
}
.hljs-comment,
.hljs-quote,
.hljs-meta,
.hljs-deletion {
color: #ccc
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-name,
.hljs-type,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,105 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
*/
.hljs {
color: #abb2bf;
background: #282c34
}
.hljs-keyword,
.hljs-operator {
color: #F92672
}
.hljs-pattern-match {
color: #F92672
}
.hljs-pattern-match .hljs-constructor {
color: #61aeee
}
.hljs-function {
color: #61aeee
}
.hljs-function .hljs-params {
color: #A6E22E
}
.hljs-function .hljs-params .hljs-typing {
color: #FD971F
}
.hljs-module-access .hljs-module {
color: #7e57c2
}
.hljs-constructor {
color: #e2b93d
}
.hljs-constructor .hljs-string {
color: #9CCC65
}
.hljs-comment,
.hljs-quote {
color: #b18eb1;
font-style: italic
}
.hljs-doctag,
.hljs-formula {
color: #c678dd
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e06c75
}
.hljs-literal {
color: #56b6c2
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
color: #98c379
}
.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #e6c07b
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #d19a66
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #61aeee
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-link {
text-decoration: underline
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.hljs {
color: #abb2bf;
background: #282c34
}
.hljs-comment,
.hljs-quote {
color: #5c6370;
font-style: italic
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #c678dd
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e06c75
}
.hljs-literal {
color: #56b6c2
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
color: #98c379
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #d19a66
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #61aeee
}
.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #e6c07b
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-link {
text-decoration: underline
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Atom One Light by Daniel Gamage
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
base: #fafafa
mono-1: #383a42
mono-2: #686b77
mono-3: #a0a1a7
hue-1: #0184bb
hue-2: #4078f2
hue-3: #a626a4
hue-4: #50a14f
hue-5: #e45649
hue-5-2: #c91243
hue-6: #986801
hue-6-2: #c18401
*/
.hljs {
color: #383a42;
background: #fafafa
}
.hljs-comment,
.hljs-quote {
color: #a0a1a7;
font-style: italic
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #a626a4
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e45649
}
.hljs-literal {
color: #0184bb
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
color: #50a14f
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #986801
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #4078f2
}
.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #c18401
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-link {
text-decoration: underline
}

View File

@@ -0,0 +1,63 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
*/
.hljs {
color: #363c69;
background: #b7a68e url(./brown-papersq.png)
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal {
color: #005599;
font-weight: bold
}
.hljs-subst {
/* default */
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable,
.hljs-link,
.hljs-name {
color: #2c009f
}
.hljs-comment,
.hljs-quote,
.hljs-meta,
.hljs-deletion {
color: #802022
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1 @@
Couldn't find the requested file /styles/brown-papersq.png.css in highlight.js.

View File

@@ -0,0 +1,57 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
codepen.io Embed Theme
Author: Justin Perry <http://github.com/ourmaninamsterdam>
Original theme - https://github.com/chriskempson/tomorrow-theme
*/
.hljs {
background: #222;
color: #fff
}
.hljs-comment,
.hljs-quote {
color: #777
}
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-regexp,
.hljs-meta,
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-params,
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-deletion {
color: #ab875d
}
.hljs-section,
.hljs-title,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-type,
.hljs-attribute {
color: #9b869b
}
.hljs-string,
.hljs-keyword,
.hljs-selector-tag,
.hljs-addition {
color: #8f9c6c
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,66 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Colorbrewer theme
Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>
Ported by Fabrício Tavares de Oliveira
*/
.hljs {
color: #000;
background: #fff
}
.hljs-subst {
/* default */
}
.hljs-string,
.hljs-meta,
.hljs-symbol,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
color: #756bb1
}
.hljs-comment,
.hljs-quote {
color: #636363
}
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-bullet,
.hljs-link {
color: #31a354
}
.hljs-deletion,
.hljs-variable {
color: #88f
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-title,
.hljs-section,
.hljs-built_in,
.hljs-doctag,
.hljs-type,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-strong {
color: #3182bd
}
.hljs-emphasis {
font-style: italic
}
.hljs-attribute {
color: #e6550d
}

View File

@@ -0,0 +1,62 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
*/
.hljs {
color: #ddd;
background: #303030
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-section,
.hljs-link {
color: white
}
.hljs-subst {
/* default */
}
.hljs-string,
.hljs-title,
.hljs-name,
.hljs-type,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #d88
}
.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
color: #979797
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-type,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,117 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: Default
Description: Original highlight.js style
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
Maintainer: @highlightjs/core-team
Website: https://highlightjs.org/
License: see project LICENSE
Touched: 2021
*/
/*
This is left on purpose making default.css the single file that can be lifted
as-is from the repository directly without the need for a build step
Typically this "required" baseline CSS is added by `makestuff.js` during build.
*/
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/* end baseline CSS */
.hljs {
background: #F3F3F3;
color: #444
}
/* Base color: saturation 0; */
.hljs-subst {
/* default */
}
/* purposely ignored */
.hljs-formula,
.hljs-attr,
.hljs-property,
.hljs-params {
}
.hljs-comment {
color: #697070
}
.hljs-tag,
.hljs-punctuation {
color: #444a
}
.hljs-tag .hljs-name,
.hljs-tag .hljs-attr {
color: #444
}
.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-name {
font-weight: bold
}
/* User color: hue: 0 */
.hljs-type,
.hljs-string,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #880000
}
.hljs-title,
.hljs-section {
color: #880000;
font-weight: bold
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-operator,
.hljs-selector-pseudo {
color: #ab5656
}
/* Language color: hue: 90; */
.hljs-literal {
color: #695
}
.hljs-built_in,
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #397300
}
/* Meta color: hue: 200 */
.hljs-meta {
color: #1f7199
}
.hljs-meta .hljs-string {
color: #38a
}
/* Misc effects */
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: devibeans (dark)
Author: @terminaldweller
Maintainer: @terminaldweller
Inspired by vim's jellybeans theme (https://github.com/nanotech/jellybeans.vim)
*/
.hljs {
background: #000000;
color: #a39e9b
}
.hljs-attr,
.hljs-template-tag {
color: #8787d7
}
.hljs-comment,
.hljs-doctag,
.hljs-quote {
color: #339966
}
.hljs-params {
color: #a39e9b
}
.hljs-regexp {
color: #d700ff
}
.hljs-tag,
.hljs-selector-id,
.hljs-number,
.hljs-literal {
color: #ef5350
}
.hljs-meta,
.hljs-meta .hljs-keyword {
color: #0087ff
}
/* opt-out */
.hljs-operator,
.hljs-punctuation {
}
.hljs-selector-class,
.hljs-code,
.hljs-formula,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-link,
.hljs-keyword {
color: #64b5f6
}
.hljs-built_in,
.hljs-title,
.hljs-deletion {
color: #ff8700
}
.hljs-type,
.hljs-section,
.hljs-function,
.hljs-name,
.hljs-property,
.hljs-attribute {
color: #ffd75f
}
.hljs-meta .hljs-string,
.hljs-string,
.hljs-subst,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #558b2f
}
.hljs-selector-tag {
color: #9966ff
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,83 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
*/
.hljs {
color: #000;
background: #f8f8ff
}
.hljs-comment,
.hljs-quote {
color: #408080;
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-subst {
color: #954121
}
.hljs-number {
color: #40a070
}
.hljs-string,
.hljs-doctag {
color: #219161
}
.hljs-selector-id,
.hljs-selector-class,
.hljs-section,
.hljs-type {
color: #19469d
}
.hljs-params {
color: #00f
}
.hljs-title {
color: #458;
font-weight: bold
}
.hljs-tag,
.hljs-name,
.hljs-attribute {
color: #000080;
font-weight: normal
}
.hljs-variable,
.hljs-template-variable {
color: #008080
}
.hljs-regexp,
.hljs-link {
color: #b68
}
.hljs-symbol,
.hljs-bullet {
color: #990073
}
.hljs-built_in {
color: #0086b3
}
.hljs-meta {
color: #999;
font-weight: bold
}
.hljs-deletion {
background: #fdd
}
.hljs-addition {
background: #dfd
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

67
assets/highlights/far.css Normal file
View File

@@ -0,0 +1,67 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
FAR Style (c) MajestiC <majestic2k@gmail.com>
*/
.hljs {
color: #0ff;
background: #000080
}
.hljs-subst {
/* default */
}
.hljs-string,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition {
color: #ff0
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-type,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-variable {
color: #fff
}
.hljs-comment,
.hljs-quote,
.hljs-doctag,
.hljs-deletion {
color: #888
}
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
color: #0f0
}
.hljs-meta {
color: #008080
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-title,
.hljs-section,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,94 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
* Theme: FelipeC
* Author: (c) 2021 Felipe Contreras <felipe.contreras@gmail.com>
* Website: https://github.com/felipec/vim-felipec
*
* Autogenerated with vim-felipec's generator.
*/
.hljs {
color: #dddde1;
background: #1e1e22
}
.hljs::selection,
.hljs ::selection {
color: #1e1e22;
background: #bf8fef
}
.hljs-comment,
.hljs-code,
.hljs-quote {
color: #888896
}
.hljs-number,
.hljs-literal,
.hljs-deletion {
color: #ef8f8f
}
.hljs-punctuation,
.hljs-meta,
.hljs-operator,
.hljs-subst,
.hljs-doctag,
.hljs-template-variable,
.hljs-selector-attr {
color: #efbf8f
}
.hljs-type {
color: #efef8f
}
.hljs-tag,
.hljs-title,
.hljs-selector-class,
.hljs-selector-id {
color: #bfef8f
}
.hljs-string,
.hljs-regexp,
.hljs-addition {
color: #8fef8f
}
.hljs-class,
.hljs-property {
color: #8fefbf
}
.hljs-name,
.hljs-selector-tag {
color: #8fefef
}
.hljs-keyword,
.hljs-built_in {
color: #8fbfef
}
.hljs-section,
.hljs-bullet {
color: #8f8fef
}
.hljs-selector-pseudo {
color: #bf8fef
}
.hljs-variable,
.hljs-params,
.hljs-attr,
.hljs-attribute {
color: #ef8fef
}
.hljs-symbol,
.hljs-link {
color: #ef8fbf
}
.hljs-strong,
.hljs-literal,
.hljs-title {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

80
assets/highlights/foundation.css vendored Normal file
View File

@@ -0,0 +1,80 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Description: Foundation 4 docs style for highlight.js
Author: Dan Allen <dan.j.allen@gmail.com>
Website: http://foundation.zurb.com/docs/
Version: 1.0
Date: 2013-04-02
*/
.hljs {
background: #eee;
color: black
}
.hljs-link,
.hljs-emphasis,
.hljs-attribute,
.hljs-addition {
color: #070
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong,
.hljs-string,
.hljs-deletion {
color: #d14
}
.hljs-strong {
font-weight: bold
}
.hljs-quote,
.hljs-comment {
color: #998;
font-style: italic
}
.hljs-section,
.hljs-title {
color: #900
}
.hljs-class .hljs-title,
.hljs-title.class_,
.hljs-type {
color: #458
}
.hljs-variable,
.hljs-template-variable {
color: #336699
}
.hljs-bullet {
color: #997700
}
.hljs-meta {
color: #3344bb
}
.hljs-code,
.hljs-number,
.hljs-literal,
.hljs-keyword,
.hljs-selector-tag {
color: #099
}
.hljs-regexp {
background-color: #fff0ff;
color: #880088
}
.hljs-symbol {
color: #990073
}
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
color: #007700
}

View File

@@ -0,0 +1,117 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: GitHub Dark Dimmed
Description: Dark dimmed theme as seen on github.com
Author: github.com
Maintainer: @Hirse
Updated: 2021-05-15
Colors taken from GitHub's CSS
*/
.hljs {
color: #adbac7;
background: #22272e
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
/* prettylights-syntax-keyword */
color: #f47067
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
/* prettylights-syntax-entity */
color: #dcbdfb
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
/* prettylights-syntax-constant */
color: #6cb6ff
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
/* prettylights-syntax-string */
color: #96d0ff
}
.hljs-built_in,
.hljs-symbol {
/* prettylights-syntax-variable */
color: #f69d50
}
.hljs-comment,
.hljs-code,
.hljs-formula {
/* prettylights-syntax-comment */
color: #768390
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
/* prettylights-syntax-entity-tag */
color: #8ddb8c
}
.hljs-subst {
/* prettylights-syntax-storage-modifier-import */
color: #adbac7
}
.hljs-section {
/* prettylights-syntax-markup-heading */
color: #316dca;
font-weight: bold
}
.hljs-bullet {
/* prettylights-syntax-markup-list */
color: #eac55f
}
.hljs-emphasis {
/* prettylights-syntax-markup-italic */
color: #adbac7;
font-style: italic
}
.hljs-strong {
/* prettylights-syntax-markup-bold */
color: #adbac7;
font-weight: bold
}
.hljs-addition {
/* prettylights-syntax-markup-inserted */
color: #b4f1b4;
background-color: #1b4721
}
.hljs-deletion {
/* prettylights-syntax-markup-deleted */
color: #ffd8d3;
background-color: #78191b
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
/* purposely ignored */
}

View File

@@ -0,0 +1,118 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: GitHub Dark
Description: Dark theme as seen on github.com
Author: github.com
Maintainer: @Hirse
Updated: 2021-05-15
Outdated base version: https://github.com/primer/github-syntax-dark
Current colors taken from GitHub's CSS
*/
.hljs {
color: #c9d1d9;
background: #0d1117
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
/* prettylights-syntax-keyword */
color: #ff7b72
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
/* prettylights-syntax-entity */
color: #d2a8ff
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
/* prettylights-syntax-constant */
color: #79c0ff
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
/* prettylights-syntax-string */
color: #a5d6ff
}
.hljs-built_in,
.hljs-symbol {
/* prettylights-syntax-variable */
color: #ffa657
}
.hljs-comment,
.hljs-code,
.hljs-formula {
/* prettylights-syntax-comment */
color: #8b949e
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
/* prettylights-syntax-entity-tag */
color: #7ee787
}
.hljs-subst {
/* prettylights-syntax-storage-modifier-import */
color: #c9d1d9
}
.hljs-section {
/* prettylights-syntax-markup-heading */
color: #1f6feb;
font-weight: bold
}
.hljs-bullet {
/* prettylights-syntax-markup-list */
color: #f2cc60
}
.hljs-emphasis {
/* prettylights-syntax-markup-italic */
color: #c9d1d9;
font-style: italic
}
.hljs-strong {
/* prettylights-syntax-markup-bold */
color: #c9d1d9;
font-weight: bold
}
.hljs-addition {
/* prettylights-syntax-markup-inserted */
color: #aff5b4;
background-color: #033a16
}
.hljs-deletion {
/* prettylights-syntax-markup-deleted */
color: #ffdcd7;
background-color: #67060c
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
/* purposely ignored */
}

View File

@@ -0,0 +1,118 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: GitHub
Description: Light theme as seen on github.com
Author: github.com
Maintainer: @Hirse
Updated: 2021-05-15
Outdated base version: https://github.com/primer/github-syntax-light
Current colors taken from GitHub's CSS
*/
.hljs {
color: #24292e;
background: #ffffff
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
/* prettylights-syntax-keyword */
color: #d73a49
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
/* prettylights-syntax-entity */
color: #6f42c1
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
/* prettylights-syntax-constant */
color: #005cc5
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
/* prettylights-syntax-string */
color: #032f62
}
.hljs-built_in,
.hljs-symbol {
/* prettylights-syntax-variable */
color: #e36209
}
.hljs-comment,
.hljs-code,
.hljs-formula {
/* prettylights-syntax-comment */
color: #6a737d
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
/* prettylights-syntax-entity-tag */
color: #22863a
}
.hljs-subst {
/* prettylights-syntax-storage-modifier-import */
color: #24292e
}
.hljs-section {
/* prettylights-syntax-markup-heading */
color: #005cc5;
font-weight: bold
}
.hljs-bullet {
/* prettylights-syntax-markup-list */
color: #735c0f
}
.hljs-emphasis {
/* prettylights-syntax-markup-italic */
color: #24292e;
font-style: italic
}
.hljs-strong {
/* prettylights-syntax-markup-bold */
color: #24292e;
font-weight: bold
}
.hljs-addition {
/* prettylights-syntax-markup-inserted */
color: #22863a;
background-color: #f0fff4
}
.hljs-deletion {
/* prettylights-syntax-markup-deleted */
color: #b31d28;
background-color: #ffeef0
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
/* purposely ignored */
}

72
assets/highlights/gml.css Normal file
View File

@@ -0,0 +1,72 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
GML Theme - Meseta <meseta@gmail.com>
*/
.hljs {
background: #222222;
color: #C0C0C0
}
.hljs-keyword {
color: #FFB871;
font-weight: bold
}
.hljs-built_in {
color: #FFB871
}
.hljs-literal {
color: #FF8080
}
.hljs-symbol {
color: #58E55A
}
.hljs-comment {
color: #5B995B
}
.hljs-string {
color: #FFFF00
}
.hljs-number {
color: #FF8080
}
.hljs-attribute,
.hljs-selector-tag,
.hljs-doctag,
.hljs-name,
.hljs-bullet,
.hljs-code,
.hljs-addition,
.hljs-regexp,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-type,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion,
.hljs-title,
.hljs-section,
.hljs-function,
.hljs-meta .hljs-keyword,
.hljs-meta,
.hljs-subst {
color: #C0C0C0
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,79 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
*/
.hljs {
background: white;
color: black
}
.hljs-comment,
.hljs-quote {
color: #800
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-title,
.hljs-name {
color: #008
}
.hljs-variable,
.hljs-template-variable {
color: #660
}
.hljs-string,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-regexp {
color: #080
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-meta,
.hljs-number,
.hljs-link {
color: #066
}
.hljs-title,
.hljs-doctag,
.hljs-type,
.hljs-attr,
.hljs-built_in,
.hljs-params {
color: #606
}
.hljs-attribute,
.hljs-subst {
color: #000
}
.hljs-formula {
background-color: #eee;
font-style: italic
}
.hljs-selector-id,
.hljs-selector-class {
color: #9B703F
}
.hljs-addition {
background-color: #baeeba
}
.hljs-deletion {
background-color: #ffc8bd
}
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Gradient Dark (c) Samia Ali <samiaab1990@gmail.com>
*/
.hljs {
background-color: #652487;
background-image: linear-gradient(160deg, #652487 0%, #443ac3 35%, #0174b7 68%, #04988e 100%);
color: #e7e4eb
}
.hljs-subtr {
color: #e7e4eb
}
.hljs-doctag,
.hljs-meta,
.hljs-comment,
.hljs-quote {
color: #af8dd9
}
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-regexp,
.hljs-attr,
.hljs-tag {
color: #AEFBFF
}
.hljs-params,
.hljs-selector-class,
.hljs-bullet {
color: #F19FFF
}
.hljs-keyword,
.hljs-section,
.hljs-meta .hljs-keyword,
.hljs-symbol,
.hljs-type {
color: #17fc95
}
.hljs-addition,
.hljs-number,
.hljs-link {
color: #C5FE00
}
.hljs-string {
color: #38c0ff
}
.hljs-attribute,
.hljs-addition {
color: #E7FF9F
}
.hljs-variable,
.hljs-template-variable {
color: #E447FF
}
.hljs-built_in,
.hljs-formula,
.hljs-name,
.hljs-title,
.hljs-class,
.hljs-function {
color: #FFC800
}
.hljs-selector-pseudo,
.hljs-deletion,
.hljs-literal {
color: #FF9E44
}
.hljs-emphasis,
.hljs-quote {
font-style: italic
}
.hljs-params,
.hljs-selector-class,
.hljs-strong,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-section,
.hljs-keyword {
font-weight: bold
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Gradient Light (c) Samia Ali <samiaab1990@gmail.com>
*/
.hljs {
background-color: #f9ccff;
background-image: linear-gradient(295deg, #f9ccff 0%, #e6bbf9 11%, #9ec6f9 32%, #55e6ee 60%, #91f5d1 74%, #f9ffbf 98%);
color: #250482
}
.hljs-subtr {
color: #01958B
}
.hljs-doctag,
.hljs-meta,
.hljs-comment,
.hljs-quote {
color: #CB7200
}
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-regexp,
.hljs-attr,
.hljs-tag {
color: #07BD5F
}
.hljs-params,
.hljs-selector-class,
.hljs-bullet {
color: #43449F
}
.hljs-keyword,
.hljs-section,
.hljs-meta .hljs-keyword,
.hljs-symbol,
.hljs-type {
color: #7D2801
}
.hljs-addition,
.hljs-number,
.hljs-link {
color: #7F0096
}
.hljs-string {
color: #2681ab
}
.hljs-attribute,
.hljs-addition {
color: #296562
}
.hljs-variable,
.hljs-template-variable {
color: #025C8F
}
.hljs-built_in,
.hljs-formula,
.hljs-name,
.hljs-title,
.hljs-class,
.hljs-function {
color: #529117
}
.hljs-selector-pseudo,
.hljs-deletion,
.hljs-literal {
color: #AD13FF
}
.hljs-emphasis,
.hljs-quote {
font-style: italic
}
.hljs-params,
.hljs-selector-class,
.hljs-strong,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-template-tag,
.hljs-section,
.hljs-keyword {
font-weight: bold
}

View File

@@ -0,0 +1,89 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
grayscale style (c) MY Sun <simonmysun@gmail.com>
*/
.hljs {
color: #333;
background: #fff
}
.hljs-comment,
.hljs-quote {
color: #777;
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: #333;
font-weight: bold
}
.hljs-number,
.hljs-literal {
color: #777
}
.hljs-string,
.hljs-doctag,
.hljs-formula {
color: #333;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat
}
.hljs-title,
.hljs-section,
.hljs-selector-id {
color: #000;
font-weight: bold
}
.hljs-subst {
font-weight: normal
}
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-type,
.hljs-name {
color: #333;
font-weight: bold
}
.hljs-tag {
color: #333
}
.hljs-regexp {
color: #333;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat
}
.hljs-symbol,
.hljs-bullet,
.hljs-link {
color: #000;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat
}
.hljs-built_in {
color: #000;
text-decoration: underline
}
.hljs-meta {
color: #999;
font-weight: bold
}
.hljs-deletion {
color: #fff;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat
}
.hljs-addition {
color: #000;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,88 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)
*/
.hljs {
background: #1d1f21;
color: #c5c8c6
}
/*selection color*/
.hljs::selection,
.hljs span::selection {
background: #373b41
}
.hljs::-moz-selection,
.hljs span::-moz-selection {
background: #373b41
}
/*color: fg_yellow*/
.hljs-title,
.hljs-name {
color: #f0c674
}
/*color: fg_comment*/
.hljs-comment,
.hljs-meta,
.hljs-meta .hljs-keyword {
color: #707880
}
/*color: fg_red*/
.hljs-number,
.hljs-symbol,
.hljs-literal,
.hljs-deletion,
.hljs-link {
color: #cc6666
}
/*color: fg_green*/
.hljs-string,
.hljs-doctag,
.hljs-addition,
.hljs-regexp,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #b5bd68
}
/*color: fg_purple*/
.hljs-attribute,
.hljs-code,
.hljs-selector-id {
color: #b294bb
}
/*color: fg_blue*/
.hljs-keyword,
.hljs-selector-tag,
.hljs-bullet,
.hljs-tag {
color: #81a2be
}
/*color: fg_aqua*/
.hljs-subst,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #8abeb7
}
/*color: fg_orange*/
.hljs-type,
.hljs-built_in,
.hljs-quote,
.hljs-section,
.hljs-selector-class {
color: #de935f
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,86 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs {
color: #000;
background: #fff
}
.hljs-subst,
.hljs-title {
font-weight: normal;
color: #000
}
.hljs-comment,
.hljs-quote {
color: #808080;
font-style: italic
}
.hljs-meta {
color: #808000
}
.hljs-tag {
background: #efefef
}
.hljs-section,
.hljs-name,
.hljs-literal,
.hljs-keyword,
.hljs-selector-tag,
.hljs-type,
.hljs-selector-id,
.hljs-selector-class {
font-weight: bold;
color: #000080
}
.hljs-attribute,
.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: bold;
color: #0000ff
}
.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: normal
}
.hljs-string {
color: #008000;
font-weight: bold
}
.hljs-symbol,
.hljs-bullet,
.hljs-formula {
color: #000;
background: #d0eded;
font-style: italic
}
.hljs-doctag {
text-decoration: underline
}
.hljs-variable,
.hljs-template-variable {
color: #660e7a
}
.hljs-addition {
background: #baeeba
}
.hljs-deletion {
background: #ffc8bd
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,107 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Intellij-light style (c) Pegasis <me@pegasis.site>
*/
.hljs {
color: #000;
background: #fff
}
.hljs-subst,
.hljs-title {
font-weight: normal;
color: #000
}
.hljs-title.function_ {
color: #7A7A43
}
.hljs-code,
.hljs-comment,
.hljs-quote {
color: #8C8C8C;
font-style: italic
}
.hljs-meta {
color: #9E880D
}
.hljs-section {
color: #871094
}
.hljs-variable.language_,
.hljs-symbol,
.hljs-selector-class,
.hljs-selector-id,
.hljs-selector-tag,
.hljs-template-tag,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-literal,
.hljs-name,
.hljs-built_in,
.hljs-type {
color: #0033B3
}
.hljs-property,
.hljs-attr {
color: #871094
}
.hljs-attribute {
color: #174AD4
}
.hljs-number {
color: #1750EB
}
.hljs-regexp {
color: #264EFF
}
.hljs-link {
text-decoration: underline;
color: #006DCC
}
.hljs-meta .hljs-string,
.hljs-string {
color: #067D17
}
.hljs-char.escape_ {
color: #0037A6
}
.hljs-doctag {
text-decoration: underline
}
.hljs-template-variable {
color: #248F8F
}
.hljs-addition {
background: #BEE6BE
}
.hljs-deletion {
background: #D6D6D6
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-variable,
.hljs-operator,
.hljs-punctuation,
.hljs-title.class_.inherited__,
.hljs-title.class_,
.hljs-params,
.hljs-bullet,
.hljs-formula,
.hljs-tag {
/* purposely ignored */
}

View File

@@ -0,0 +1,66 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru>
*/
.hljs {
background: #000;
color: #f8f8f8
}
.hljs-comment,
.hljs-quote,
.hljs-meta {
color: #7c7c7c
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-tag,
.hljs-name {
color: #96cbfe
}
.hljs-attribute,
.hljs-selector-id {
color: #ffffb6
}
.hljs-string,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition {
color: #a8ff60
}
.hljs-subst {
color: #daefa3
}
.hljs-regexp,
.hljs-link {
color: #e9c062
}
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-doctag {
color: #ffffb6
}
.hljs-symbol,
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-literal {
color: #c6c5fe
}
.hljs-number,
.hljs-deletion {
color: #ff73fd
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,94 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
ISBL Editor style dark color scheme (c) Dmitriy Tarasov <dimatar@gmail.com>
*/
.hljs {
background: #404040;
color: #f0f0f0
}
/* Base color: saturation 0; */
.hljs,
.hljs-subst {
color: #f0f0f0
}
.hljs-comment {
color: #b5b5b5;
font-style: italic
}
.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-name {
color: #f0f0f0;
font-weight: bold
}
/* User color: hue: 0 */
.hljs-string {
color: #97bf0d
}
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #f0f0f0
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #e2c696
}
/* Language color: hue: 90; */
.hljs-built_in,
.hljs-literal {
color: #97bf0d;
font-weight: bold
}
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #397300
}
.hljs-class {
color: #ce9d4d;
font-weight: bold
}
.hljs-title,
.hljs-section {
color: #df471e
}
.hljs-title>.hljs-built_in {
color: #81bce9;
font-weight: normal
}
/* Meta color: hue: 200 */
.hljs-meta {
color: #1f7199
}
.hljs-meta .hljs-string {
color: #4d99bf
}
/* Misc effects */
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,93 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
ISBL Editor style light color schemec (c) Dmitriy Tarasov <dimatar@gmail.com>
*/
.hljs {
background: white;
color: black
}
/* Base color: saturation 0; */
.hljs-subst {
color: black
}
.hljs-comment {
color: #555555;
font-style: italic
}
.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-name {
color: #000000;
font-weight: bold
}
/* User color: hue: 0 */
.hljs-string {
color: #000080
}
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #000000
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #5e1700
}
/* Language color: hue: 90; */
.hljs-built_in,
.hljs-literal {
color: #000080;
font-weight: bold
}
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #397300
}
.hljs-class {
color: #6f1C00;
font-weight: bold
}
.hljs-title,
.hljs-section {
color: #fb2c00
}
.hljs-title>.hljs-built_in {
color: #008080;
font-weight: normal
}
/* Meta color: hue: 200 */
.hljs-meta {
color: #1f7199
}
.hljs-meta .hljs-string {
color: #4d99bf
}
/* Misc effects */
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,69 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Name: Kimbie (dark)
Author: Jan T. Sott
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
URL: https://github.com/idleberg/Kimbie-highlight.js
*/
.hljs {
background: #221a0f;
color: #d3af86
}
/* Kimbie Comment */
.hljs-comment,
.hljs-quote {
color: #d6baad
}
/* Kimbie Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-meta {
color: #dc3958
}
/* Kimbie Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-deletion,
.hljs-link {
color: #f79a32
}
/* Kimbie Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #889b4a
}
/* Kimbie Purple */
.hljs-keyword,
.hljs-selector-tag,
.hljs-function {
color: #98676a
}
/* Kimbie Yellow */
.hljs-title,
.hljs-section,
.hljs-attribute {
color: #f06431
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,69 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Name: Kimbie (light)
Author: Jan T. Sott
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
URL: https://github.com/idleberg/Kimbie-highlight.js
*/
.hljs {
background: #fbebd4;
color: #84613d
}
/* Kimbie Comment */
.hljs-comment,
.hljs-quote {
color: #a57a4c
}
/* Kimbie Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-meta {
color: #dc3958
}
/* Kimbie Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-deletion,
.hljs-link {
color: #f79a32
}
/* Kimbie Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #889b4a
}
/* Kimbie Purple */
.hljs-keyword,
.hljs-selector-tag,
.hljs-function {
color: #98676a
}
/* Kimbie Yellow */
.hljs-title,
.hljs-section,
.hljs-attribute {
color: #f06431
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,81 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Lightfair style (c) Tristian Kelly <tristian.kelly560@gmail.com>
*/
.hljs {
color: #444;
background: #fff
}
.hljs-name {
color: #01a3a3
}
.hljs-tag,
.hljs-meta {
color: #778899
}
.hljs-subst {
/* default */
}
.hljs-comment {
color: #888888
}
.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-name {
font-weight: bold
}
.hljs-type,
.hljs-string,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #4286f4
}
.hljs-title,
.hljs-section {
color: #4286f4;
font-weight: bold
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #BC6060
}
.hljs-literal {
color: #62bcbc
}
.hljs-built_in,
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #25c6c6
}
.hljs-meta .hljs-string {
color: #4d99bf
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,76 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/* lioshi Theme */
/* Original theme - https://github.com/lioshi/vscode-lioshi-theme */
.hljs {
background: #303030;
color: #c5c8c6
}
/* Comment */
.hljs-comment {
color: #8d8d8d
}
/* quote */
.hljs-quote {
color: #b3c7d8
}
/* Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #cc6666
}
/* Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-subst
.hljs-link {
color: #de935f
}
/* Yellow */
.hljs-attribute {
color: #f0c674
}
/* Green */
.hljs-string,
.hljs-bullet,
.hljs-params,
.hljs-addition {
color: #b5bd68
}
/* Purple */
.hljs-selector-tag,
.hljs-keyword,
.hljs-function,
.hljs-class {
color: #be94bb
}
/* Blue */
.hljs-title,
.hljs-meta,
.hljs-section {
color: #81a2be
}
/* Purple light */
.hljs-symbol {
color: #dbc4d9
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,66 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Description: Magula style for highligh.js
Author: Ruslan Keba <rukeba@gmail.com>
Website: http://rukeba.com/
Version: 1.0
Date: 2009-01-03
Music: Aphex Twin / Xtal
*/
.hljs {
background-color: #f4f4f4;
color: black
}
.hljs-subst {
color: black
}
.hljs-string,
.hljs-title,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #050
}
.hljs-comment,
.hljs-quote {
color: #777
}
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-type,
.hljs-link {
color: #800
}
.hljs-deletion,
.hljs-meta {
color: #00e
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-built_in,
.hljs-tag,
.hljs-name {
font-weight: bold;
color: navy
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,56 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Five-color theme from a single blue hue.
*/
.hljs {
background: #eaeef3;
color: #00193a
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-comment {
color: #738191
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-addition,
.hljs-tag,
.hljs-quote,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
color: #0048ab
}
.hljs-meta,
.hljs-subst,
.hljs-symbol,
.hljs-regexp,
.hljs-attribute,
.hljs-deletion,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-bullet {
color: #4c81c9
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,76 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
*/
.hljs {
background: #23241f;
color: #f8f8f2
}
.hljs-tag,
.hljs-subst {
color: #f8f8f2
}
.hljs-strong,
.hljs-emphasis {
color: #a8a8a2
}
.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
color: #ae81ff
}
.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
color: #a6e22e
}
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
color: #f92672
}
.hljs-symbol,
.hljs-attribute {
color: #66d9ef
}
.hljs-params,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #f8f8f2
}
.hljs-string,
.hljs-type,
.hljs-built_in,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
color: #e6db74
}
.hljs-comment,
.hljs-deletion,
.hljs-meta {
color: #75715e
}

View File

@@ -0,0 +1,68 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Monokai style - ported by Luigi Maselli - http://grigio.org
*/
.hljs {
background: #272822;
color: #ddd
}
.hljs-tag,
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-strong,
.hljs-name {
color: #f92672
}
.hljs-code {
color: #66d9ef
}
.hljs-attribute,
.hljs-symbol,
.hljs-regexp,
.hljs-link {
color: #bf79db
}
.hljs-string,
.hljs-bullet,
.hljs-subst,
.hljs-title,
.hljs-section,
.hljs-emphasis,
.hljs-type,
.hljs-built_in,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #a6e22e
}
.hljs-title.class_,
.hljs-class .hljs-title {
color: white
}
.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
color: #75715e
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-selector-id {
font-weight: bold
}

View File

@@ -0,0 +1,174 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Night Owl for highlight.js (c) Carl Baxter <carl@cbax.tech>
An adaptation of Sarah Drasner's Night Owl VS Code Theme
https://github.com/sdras/night-owl-vscode-theme
Copyright (c) 2018 Sarah Drasner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
.hljs {
background: #011627;
color: #d6deeb
}
/* General Purpose */
.hljs-keyword {
color: #c792ea;
font-style: italic
}
.hljs-built_in {
color: #addb67;
font-style: italic
}
.hljs-type {
color: #82aaff
}
.hljs-literal {
color: #ff5874
}
.hljs-number {
color: #F78C6C
}
.hljs-regexp {
color: #5ca7e4
}
.hljs-string {
color: #ecc48d
}
.hljs-subst {
color: #d3423e
}
.hljs-symbol {
color: #82aaff
}
.hljs-class {
color: #ffcb8b
}
.hljs-function {
color: #82AAFF
}
.hljs-title {
color: #DCDCAA;
font-style: italic
}
.hljs-params {
color: #7fdbca
}
/* Meta */
.hljs-comment {
color: #637777;
font-style: italic
}
.hljs-doctag {
color: #7fdbca
}
.hljs-meta {
color: #82aaff
}
.hljs-meta .hljs-keyword {
color: #82aaff
}
.hljs-meta .hljs-string {
color: #ecc48d
}
/* Tags, attributes, config */
.hljs-section {
color: #82b1ff
}
.hljs-tag,
.hljs-name {
color: #7fdbca
}
.hljs-attr {
color: #7fdbca
}
.hljs-attribute {
color: #80cbc4
}
.hljs-variable {
color: #addb67
}
/* Markup */
.hljs-bullet {
color: #d9f5dd
}
.hljs-code {
color: #80CBC4
}
.hljs-emphasis {
color: #c792ea;
font-style: italic
}
.hljs-strong {
color: #addb67;
font-weight: bold
}
.hljs-formula {
color: #c792ea
}
.hljs-link {
color: #ff869a
}
.hljs-quote {
color: #697098;
font-style: italic
}
/* CSS */
.hljs-selector-tag {
color: #ff6363
}
.hljs-selector-id {
color: #fad430
}
.hljs-selector-class {
color: #addb67;
font-style: italic
}
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #c792ea;
font-style: italic
}
/* Templates */
.hljs-template-tag {
color: #c792ea
}
.hljs-template-variable {
color: #addb67
}
/* diff */
.hljs-addition {
color: #addb67ff;
font-style: italic
}
.hljs-deletion {
color: #EF535090;
font-style: italic
}

View File

@@ -0,0 +1,104 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: nnfx dark
Description: a theme inspired by Netscape Navigator/Firefox
Author: (c) 2020-2021 Jim Mason <jmason@ibinx.com>
Maintainer: @RocketMan
License: https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0
Updated: 2021-05-17
@version 1.1.0
*/
.hljs {
background: #333;
color: #fff
}
.language-xml .hljs-meta,
.language-xml .hljs-meta-string {
font-weight: bold;
font-style: italic;
color: #69f
}
.hljs-comment,
.hljs-quote {
font-style: italic;
color: #9c6
}
.hljs-name,
.hljs-keyword,
.hljs-built_in {
color: #a7a
}
.hljs-name,
.hljs-attr {
font-weight: bold
}
.hljs-string {
font-weight: normal
}
.hljs-code,
.hljs-string,
.hljs-meta .hljs-string,
.hljs-number,
.hljs-regexp,
.hljs-link {
color: #bce
}
.hljs-title,
.hljs-symbol,
.hljs-bullet,
.hljs-variable,
.hljs-template-variable {
color: #d40
}
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-type {
font-weight: bold;
color: #96c
}
.hljs-title.function_,
.hljs-function .hljs-title,
.hljs-attr,
.hljs-subst,
.hljs-tag {
color: #fff
}
.hljs-formula {
background-color: #eee;
font-style: italic
}
.hljs-addition {
background-color: #797
}
.hljs-deletion {
background-color: #c99
}
.hljs-meta {
color: #69f
}
.hljs-section,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-selector-tag {
font-weight: bold;
color: #69f
}
.hljs-selector-pseudo {
font-style: italic
}
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,104 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: nnfx light
Description: a theme inspired by Netscape Navigator/Firefox
Author: (c) 2020-2021 Jim Mason <jmason@ibinx.com>
Maintainer: @RocketMan
License: https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0
Updated: 2021-05-17
@version 1.1.0
*/
.hljs {
background: #fff;
color: #000
}
.language-xml .hljs-meta,
.language-xml .hljs-meta-string {
font-weight: bold;
font-style: italic;
color: #48b
}
.hljs-comment,
.hljs-quote {
font-style: italic;
color: #070
}
.hljs-name,
.hljs-keyword,
.hljs-built_in {
color: #808
}
.hljs-name,
.hljs-attr {
font-weight: bold
}
.hljs-string {
font-weight: normal
}
.hljs-code,
.hljs-string,
.hljs-meta .hljs-string,
.hljs-number,
.hljs-regexp,
.hljs-link {
color: #00f
}
.hljs-title,
.hljs-symbol,
.hljs-bullet,
.hljs-variable,
.hljs-template-variable {
color: #f40
}
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-type {
font-weight: bold;
color: #639
}
.hljs-title.function_,
.hljs-function .hljs-title,
.hljs-attr,
.hljs-subst,
.hljs-tag {
color: #000
}
.hljs-formula {
background-color: #eee;
font-style: italic
}
.hljs-addition {
background-color: #beb
}
.hljs-deletion {
background-color: #fbb
}
.hljs-meta {
color: #269
}
.hljs-section,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-selector-tag {
font-weight: bold;
color: #48b
}
.hljs-selector-pseudo {
font-style: italic
}
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

275
assets/highlights/nord.css Normal file
View File

@@ -0,0 +1,275 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
* Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
* Copyright (c) 2017-present Sven Greb <development@svengreb.de>
*
* Project: Nord highlight.js
* Version: 0.1.0
* Repository: https://github.com/arcticicestudio/nord-highlightjs
* License: MIT
* References:
* https://github.com/arcticicestudio/nord
*/
/*
Polar Night
#2E3440
#3B4252
#434C5E
#4C566A
Snow Storm
#D8DEE9
#E5E9F0
#ECEFF4
Frost
#8FBCBB
#88C0D0
#81A1C1
#5E81AC
Aurora
#BF616A
#D08770
#EBCB8B
#A3BE8C
#B48EAD
*/
.hljs {
background: #2E3440
}
.hljs,
.hljs-subst {
color: #D8DEE9
}
.hljs-selector-tag {
color: #81A1C1
}
.hljs-selector-id {
color: #8FBCBB;
font-weight: bold
}
.hljs-selector-class {
color: #8FBCBB
}
.hljs-selector-attr {
color: #8FBCBB
}
.hljs-property {
color: #88C0D0
}
.hljs-selector-pseudo {
color: #88C0D0
}
.hljs-addition {
background-color: rgba(163, 190, 140, 0.5)
}
.hljs-deletion {
background-color: rgba(191, 97, 106, 0.5)
}
.hljs-built_in,
.hljs-type {
color: #8FBCBB
}
.hljs-class {
color: #8FBCBB
}
.hljs-function {
color: #88C0D0
}
.hljs-title.hljs-function,
.hljs-function > .hljs-title {
color: #88C0D0
}
.hljs-keyword,
.hljs-literal,
.hljs-symbol {
color: #81A1C1
}
.hljs-number {
color: #B48EAD
}
.hljs-regexp {
color: #EBCB8B
}
.hljs-string {
color: #A3BE8C
}
.hljs-title {
color: #8FBCBB
}
.hljs-params {
color: #D8DEE9
}
.hljs-bullet {
color: #81A1C1
}
.hljs-code {
color: #8FBCBB
}
.hljs-emphasis {
font-style: italic
}
.hljs-formula {
color: #8FBCBB
}
.hljs-strong {
font-weight: bold
}
.hljs-link:hover {
text-decoration: underline
}
.hljs-quote {
color: #4C566A
}
.hljs-comment {
color: #4C566A
}
.hljs-doctag {
color: #8FBCBB
}
.hljs-meta,
.hljs-meta .hljs-keyword {
color: #5E81AC
}
.hljs-meta .hljs-string {
color: #A3BE8C
}
.hljs-attr {
color: #8FBCBB
}
.hljs-attribute {
color: #D8DEE9
}
.hljs-name {
color: #81A1C1
}
.hljs-section {
color: #88C0D0
}
.hljs-tag {
color: #81A1C1
}
.hljs-variable {
color: #D8DEE9
}
.hljs-template-variable {
color: #D8DEE9
}
.hljs-template-tag {
color: #5E81AC
}
/* per language customizations */
.language-abnf .hljs-attribute {
color: #88C0D0
}
.language-abnf .hljs-symbol {
color: #EBCB8B
}
.language-apache .hljs-attribute {
color: #88C0D0
}
.language-apache .hljs-section {
color: #81A1C1
}
.language-arduino .hljs-built_in {
color: #88C0D0
}
.language-aspectj .hljs-meta {
color: #D08770
}
.language-aspectj > .hljs-title {
color: #88C0D0
}
.language-bnf .hljs-attribute {
color: #8FBCBB
}
.language-clojure .hljs-name {
color: #88C0D0
}
.language-clojure .hljs-symbol {
color: #EBCB8B
}
.language-coq .hljs-built_in {
color: #88C0D0
}
.language-cpp .hljs-meta .hljs-string {
color: #8FBCBB
}
.language-css .hljs-built_in {
color: #88C0D0
}
.language-css .hljs-keyword {
color: #D08770
}
.language-diff .hljs-meta {
color: #8FBCBB
}
.language-ebnf .hljs-attribute {
color: #8FBCBB
}
.language-glsl .hljs-built_in {
color: #88C0D0
}
.language-groovy .hljs-meta:not(:first-child) {
color: #D08770
}
.language-haxe .hljs-meta {
color: #D08770
}
.language-java .hljs-meta {
color: #D08770
}
.language-ldif .hljs-attribute {
color: #8FBCBB
}
.language-lisp .hljs-name {
color: #88C0D0
}
.language-lua .hljs-built_in {
color: #88C0D0
}
.language-moonscript .hljs-built_in {
color: #88C0D0
}
.language-nginx .hljs-attribute {
color: #88C0D0
}
.language-nginx .hljs-section {
color: #5E81AC
}
.language-pf .hljs-built_in {
color: #88C0D0
}
.language-processing .hljs-built_in {
color: #88C0D0
}
.language-scss .hljs-keyword {
color: #81A1C1
}
.language-stylus .hljs-keyword {
color: #81A1C1
}
.language-swift .hljs-meta {
color: #D08770
}
.language-vim .hljs-built_in {
color: #88C0D0;
font-style: italic
}
.language-yaml .hljs-meta {
color: #D08770
}

View File

@@ -0,0 +1,79 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/**
* Obsidian style
* ported by Alexander Marenin (http://github.com/ioncreature)
*/
.hljs {
color: #e0e2e4;
background: #282b2e
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-selector-id {
color: #93c763
}
.hljs-number {
color: #ffcd22
}
.hljs-attribute {
color: #668bb0
}
.hljs-regexp,
.hljs-link {
color: #d39745
}
.hljs-meta {
color: #557182
}
.hljs-tag,
.hljs-name,
.hljs-bullet,
.hljs-subst,
.hljs-emphasis,
.hljs-type,
.hljs-built_in,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
color: #8cbbad
}
.hljs-string,
.hljs-symbol {
color: #ec7600
}
.hljs-comment,
.hljs-quote,
.hljs-deletion {
color: #818e96
}
.hljs-selector-class {
color: #A082BD
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-code,
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-section {
color: white
}

View File

@@ -0,0 +1,92 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/**
* Panda Syntax Theme for Highlight.js
* Based on: https://github.com/tinkertrain/panda-syntax-vscode
* Author: Annmarie Switzer <https://github.com/annmarie-switzer>
*/
.hljs {
color: #e6e6e6;
background: #2a2c2d
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-link {
text-decoration: underline
}
.hljs-comment,
.hljs-quote {
color: #bbbbbb;
font-style: italic
}
.hljs-params {
color: #bbbbbb
}
.hljs-punctuation,
.hljs-attr {
color: #e6e6e6
}
.hljs-selector-tag,
.hljs-name,
.hljs-meta {
color: #ff4b82
}
.hljs-operator,
.hljs-char.escape_ {
color: #b084eb
}
.hljs-keyword,
.hljs-deletion {
color: #ff75b5
}
.hljs-regexp,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_ {
color: #ff9ac1
}
.hljs-subst,
.hljs-property,
.hljs-code,
.hljs-formula,
.hljs-section,
.hljs-title.function_ {
color: #45a9f9
}
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-selector-class,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-meta .hljs-string {
color: #19f9d8
}
.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-link,
.hljs-built_in,
.hljs-title,
.hljs-selector-id,
.hljs-tag,
.hljs-doctag,
.hljs-attribute,
.hljs-template-tag,
.hljs-meta .hljs-keyword,
.hljs-punctuation {
color: #ffb86c
}

View File

@@ -0,0 +1,89 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/**
* Panda Syntax Theme for Highlight.js
* Based on: https://github.com/tinkertrain/panda-syntax-vscode
* Author: Annmarie Switzer <https://github.com/annmarie-switzer>
*/
.hljs {
color: #2a2c2d;
background: #e6e6e6
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-link {
text-decoration: underline
}
.hljs-comment,
.hljs-quote {
color: #676B79;
font-style: italic
}
.hljs-params {
color: #676B79
}
.hljs-punctuation,
.hljs-attr {
color: #2a2c2d
}
.hljs-selector-tag,
.hljs-name,
.hljs-meta,
.hljs-operator,
.hljs-char.escape_ {
color: #c56200
}
.hljs-keyword,
.hljs-deletion {
color: #d92792
}
.hljs-regexp,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_ {
color: #cc5e91
}
.hljs-subst,
.hljs-property,
.hljs-code,
.hljs-formula,
.hljs-section,
.hljs-title.function_ {
color: #3787c7
}
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-selector-class,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-meta .hljs-string {
color: #0d7d6c
}
.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-link,
.hljs-built_in,
.hljs-title,
.hljs-selector-id,
.hljs-tag,
.hljs-doctag,
.hljs-attribute,
.hljs-template-tag,
.hljs-meta .hljs-keyword {
color: #7641bb
}

View File

@@ -0,0 +1,67 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Paraíso (dark)
Created by Jan T. Sott (http://github.com/idleberg)
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
*/
.hljs {
background: #2f1e2e;
color: #a39e9b
}
/* Paraíso Comment */
.hljs-comment,
.hljs-quote {
color: #8d8687
}
/* Paraíso Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-link,
.hljs-meta {
color: #ef6155
}
/* Paraíso Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-deletion {
color: #f99b15
}
/* Paraíso Yellow */
.hljs-title,
.hljs-section,
.hljs-attribute {
color: #fec418
}
/* Paraíso Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #48b685
}
/* Paraíso Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #815ba4
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,67 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Paraíso (light)
Created by Jan T. Sott (http://github.com/idleberg)
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
*/
.hljs {
background: #e7e9db;
color: #4f424c
}
/* Paraíso Comment */
.hljs-comment,
.hljs-quote {
color: #776e71
}
/* Paraíso Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-link,
.hljs-meta {
color: #ef6155
}
/* Paraíso Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-deletion {
color: #f99b15
}
/* Paraíso Yellow */
.hljs-title,
.hljs-section,
.hljs-attribute {
color: #fec418
}
/* Paraíso Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #48b685
}
/* Paraíso Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #815ba4
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,76 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Pojoaque Style by Jason Tate
http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
Based on Solarized Style from http://ethanschoonover.com/solarized
*/
.hljs {
color: #dccf8f;
background: url(./pojoaque.jpg) repeat scroll left top #181914
}
.hljs-comment,
.hljs-quote {
color: #586e75;
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-addition {
color: #b64926
}
.hljs-number,
.hljs-string,
.hljs-doctag,
.hljs-regexp {
color: #468966
}
.hljs-title,
.hljs-section,
.hljs-built_in,
.hljs-name {
color: #ffb03b
}
.hljs-variable,
.hljs-template-variable,
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-type,
.hljs-tag {
color: #b58900
}
.hljs-attribute {
color: #b89859
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-subst,
.hljs-meta {
color: #cb4b16
}
.hljs-deletion {
color: #dc322f
}
.hljs-selector-id,
.hljs-selector-class {
color: #d3a60c
}
.hljs-formula {
background: #073642
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1 @@
Couldn't find the requested file /styles/pojoaque.jpg.css in highlight.js.

View File

@@ -0,0 +1,103 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
PureBASIC native IDE style ( version 1.0 - April 2016 )
by Tristano Ajmone <tajmone@gmail.com>
Public Domain
NOTE_1: PureBASIC code syntax highlighting only applies the following classes:
.hljs-comment
.hljs-function
.hljs-keywords
.hljs-string
.hljs-symbol
Other classes are added here for the benefit of styling other languages with the look and feel of PureBASIC native IDE style.
If you need to customize a stylesheet for PureBASIC only, remove all non-relevant classes -- PureBASIC-related classes are followed by
a "--- used for PureBASIC ... ---" comment on same line.
NOTE_2: Color names provided in comments were derived using "Name that Color" online tool:
http://chir.ag/projects/name-that-color
*/
.hljs {
background: #FFFFDF/* Half and Half (approx.) */
}
/* --- used for PureBASIC base color --- */
/* --- used for PureBASIC Procedures return type --- */
/* --- used for wrapping PureBASIC Procedures definitions --- */
.hljs,
.hljs-type,
.hljs-function,
.hljs-name,
.hljs-number,
.hljs-attr,
.hljs-params,
.hljs-subst {
color: #000000/* Black */
}
/* --- used for PureBASIC Comments --- */
.hljs-comment,
.hljs-regexp,
.hljs-section,
.hljs-selector-pseudo,
.hljs-addition {
color: #00AAAA/* Persian Green (approx.) */
}
/* --- used for PureBASIC Keywords --- */
.hljs-keyword,
.hljs-class,
.hljs-meta .hljs-keyword,
.hljs-selector-class,
.hljs-built_in {
color: #006666;
/* Blue Stone (approx.) */
font-weight: bold
}
/* --- used for PureBASIC Procedures Names --- */
.hljs-title,
.hljs-tag,
.hljs-variable,
.hljs-code {
color: #006666/* Blue Stone (approx.) */
}
/* --- used for PureBASIC Strings --- */
.hljs-string,
.hljs-selector-attr {
color: #0080FF/* Azure Radiance (approx.) */
}
/* --- used for PureBASIC Constants --- */
.hljs-symbol,
.hljs-link,
.hljs-deletion,
.hljs-attribute {
color: #924B72/* Cannon Pink (approx.) */
}
.hljs-meta,
.hljs-literal,
.hljs-selector-id {
color: #924B72;
/* Cannon Pink (approx.) */
font-weight: bold
}
.hljs-strong,
.hljs-name {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,76 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Qt Creator dark color scheme
*/
.hljs {
color: #aaaaaa;
background: #000000
}
.hljs-strong,
.hljs-emphasis {
color: #a8a8a2
}
.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal {
color: #ff55ff
}
.hljs-code
.hljs-selector-class {
color: #aaaaff
}
.hljs-emphasis,
.hljs-stronge,
.hljs-type {
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-function,
.hljs-section,
.hljs-symbol,
.hljs-name {
color: #ffff55
}
.hljs-subst,
.hljs-tag,
.hljs-title {
color: #aaaaaa
}
.hljs-attribute {
color: #ff5555
}
.hljs-variable,
.hljs-params,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #8888ff
}
.hljs-string,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-type,
.hljs-built_in,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition,
.hljs-link {
color: #ff55ff
}
.hljs-comment,
.hljs-meta,
.hljs-deletion {
color: #55ffff
}

View File

@@ -0,0 +1,74 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Qt Creator light color scheme
*/
.hljs {
color: #000000;
background: #ffffff
}
.hljs-strong,
.hljs-emphasis {
color: #000000
}
.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal {
color: #000080
}
.hljs-code
.hljs-selector-class {
color: #800080
}
.hljs-emphasis,
.hljs-stronge,
.hljs-type {
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-function,
.hljs-section,
.hljs-symbol,
.hljs-name {
color: #808000
}
.hljs-subst,
.hljs-tag,
.hljs-title {
color: #000000
}
.hljs-attribute {
color: #800000
}
.hljs-variable,
.hljs-params,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #0055AF
}
.hljs-string,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-type,
.hljs-built_in,
.hljs-template-tag,
.hljs-template-variable,
.hljs-addition,
.hljs-link {
color: #008000
}
.hljs-comment,
.hljs-meta,
.hljs-deletion {
color: #008000
}

View File

@@ -0,0 +1,77 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Style with support for rainbow parens
*/
.hljs {
background: #474949;
color: #d1d9e1
}
.hljs-comment,
.hljs-quote {
color: #969896;
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-type,
.hljs-addition {
color: #cc99cc
}
.hljs-number,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #f99157
}
.hljs-string,
.hljs-doctag,
.hljs-regexp {
color: #8abeb7
}
.hljs-title,
.hljs-name,
.hljs-section,
.hljs-built_in {
color: #b5bd68
}
.hljs-variable,
.hljs-template-variable,
.hljs-selector-id,
.hljs-title.class_,
.hljs-class .hljs-title {
color: #ffcc66
}
.hljs-section,
.hljs-name,
.hljs-strong {
font-weight: bold
}
.hljs-symbol,
.hljs-bullet,
.hljs-subst,
.hljs-meta,
.hljs-link {
color: #f99157
}
.hljs-deletion {
color: #dc322f
}
.hljs-formula {
background: #eee8d5
}
.hljs-attr,
.hljs-attribute {
color: #81a2be
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,86 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
highlight.js style for MikroTik RouterOS script
*/
.hljs {
color: #444;
background: #F0F0F0
}
/* Base color: saturation 0; */
.hljs-subst {
color: #444
}
.hljs-comment {
color: #888888
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-name {
font-weight: bold
}
.hljs-attribute {
color: #0E9A00
}
.hljs-function {
color: #99069A
}
/* User color: hue: 0 */
.hljs-type,
.hljs-string,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
color: #880000
}
.hljs-title,
.hljs-section {
color: #880000;
font-weight: bold
}
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #BC6060
}
/* Language color: hue: 90; */
.hljs-literal {
color: #78A960
}
.hljs-built_in,
.hljs-bullet,
.hljs-code,
.hljs-addition {
color: #0C9A9A
}
/* Meta color: hue: 200 */
.hljs-meta {
color: #1f7199
}
.hljs-meta .hljs-string {
color: #4d99bf
}
/* Misc effects */
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,62 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
*/
.hljs {
color: #3e5915;
background: #f6f5b2
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal {
color: #005599;
font-weight: bold
}
.hljs-subst {
color: #3e5915
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute,
.hljs-built_in,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable,
.hljs-link {
color: #2c009f
}
.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
color: #e60415
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-type,
.hljs-name,
.hljs-selector-id,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,84 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/**
* Shades of Purple Theme — for Highlightjs.
*
* @author (c) Ahmad Awais <https://twitter.com/mrahmadawais/>
* @link GitHub Repo → https://github.com/ahmadawais/Shades-of-Purple-HighlightJS
* @version 1.5.0
*/
.hljs {
background: #2d2b57;
color: #e3dfff;
font-weight: normal
}
.hljs-subst {
color: #e3dfff
}
.hljs-title {
color: #fad000;
font-weight: normal
}
.hljs-name {
color: #a1feff
}
.hljs-tag {
color: #ffffff
}
.hljs-attr {
color: #f8d000;
font-style: italic
}
.hljs-built_in,
.hljs-selector-tag,
.hljs-section {
color: #fb9e00
}
.hljs-keyword {
color: #fb9e00
}
.hljs-string,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-code,
.hljs-regexp,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-template-tag,
.hljs-quote,
.hljs-deletion {
color: #4cd213
}
.hljs-meta,
.hljs-meta .hljs-string {
color: #fb9e00
}
.hljs-comment {
color: #ac65ff
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-name,
.hljs-strong {
font-weight: normal
}
.hljs-literal,
.hljs-number {
color: #fa658d
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,89 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Theme: Srcery
Description: Srcery dark color scheme for highlight.js
Author: Chen Bin <chen.bin@gmail.com>
Maintainer: @redguardtoo
Website: https://srcery-colors.github.io/
Date: 2021-04-13
*/
.hljs {
background: #1C1B19;
/* Black */
color: #FCE8C3/* Bright White */
}
/* Bright White */
.hljs-subst,
.hljs-quote,
.hljs-literal {
color: #FCE8C3
}
/* Bright Blue */
.hljs-type,
.hljs-symbol {
color: #68A8E4
}
/* Red */
.hljs-keyword,
.hljs-deletion {
color: #EF2F27
}
/* Yellow */
.hljs-name,
.hljs-function,
.hljs-attribute,
.hljs-selector-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-pseudo,
.hljs-section,
.hljs-title {
color: #FBB829
}
/* Cyan */
.hljs-code,
.hljs-variable,
.hljs-property,
.hljs-template-variable,
.hljs-class {
color: #0AAEB3
}
/* Bright Green */
.hljs-string,
.hljs-regexp,
.hljs-bullet,
.hljs-addition {
color: #98BC37
}
/* Bright Magenta */
.hljs-built_in,
.hljs-params {
color: #FF5C8F
}
/* Blue */
.hljs-template-tag,
.hljs-selector-tag {
color: #2C78BF
}
/* Bright Black */
.hljs-link,
.hljs-number,
.hljs-comment,
.hljs-meta {
color: #918175
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
/* @see https://github.com/srcery-colors/srcery-emacs for reference */

View File

@@ -0,0 +1,117 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: StackOverflow Dark
Description: Dark theme as used on stackoverflow.com
Author: stackoverflow.com
Maintainer: @Hirse
Website: https://github.com/StackExchange/Stacks
License: MIT
Updated: 2021-05-15
Updated for @stackoverflow/stacks v0.64.0
Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
*/
.hljs {
/* var(--highlight-color) */
color: #ffffff;
/* var(--highlight-bg) */
background: #1c1b1b
}
.hljs-subst {
/* var(--highlight-color) */
color: #ffffff
}
.hljs-comment {
/* var(--highlight-comment) */
color: #999999
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-section {
/* var(--highlight-keyword) */
color: #88aece
}
.hljs-attr {
/* var(--highlight-attribute); */
color: #88aece
}
.hljs-attribute {
/* var(--highlight-symbol) */
color: #c59bc1
}
.hljs-name,
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-quote,
.hljs-template-tag {
/* var(--highlight-namespace) */
color: #f08d49
}
.hljs-selector-class {
/* var(--highlight-keyword) */
color: #88aece
}
.hljs-string,
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr {
/* var(--highlight-variable) */
color: #b5bd68
}
.hljs-meta,
.hljs-selector-pseudo {
/* var(--highlight-keyword) */
color: #88aece
}
.hljs-built_in,
.hljs-title,
.hljs-literal {
/* var(--highlight-literal) */
color: #f08d49
}
.hljs-bullet,
.hljs-code {
/* var(--highlight-punctuation) */
color: #cccccc
}
.hljs-meta .hljs-string {
/* var(--highlight-variable) */
color: #b5bd68
}
.hljs-deletion {
/* var(--highlight-deletion) */
color: #de7176
}
.hljs-addition {
/* var(--highlight-addition) */
color: #76c490
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-formula,
.hljs-operator,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
/* purposely ignored */
}

View File

@@ -0,0 +1,117 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: StackOverflow Light
Description: Light theme as used on stackoverflow.com
Author: stackoverflow.com
Maintainer: @Hirse
Website: https://github.com/StackExchange/Stacks
License: MIT
Updated: 2021-05-15
Updated for @stackoverflow/stacks v0.64.0
Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
*/
.hljs {
/* var(--highlight-color) */
color: #2f3337;
/* var(--highlight-bg) */
background: #f6f6f6
}
.hljs-subst {
/* var(--highlight-color) */
color: #2f3337
}
.hljs-comment {
/* var(--highlight-comment) */
color: #656e77
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-meta .hljs-keyword,
.hljs-doctag,
.hljs-section {
/* var(--highlight-keyword) */
color: #015692
}
.hljs-attr {
/* var(--highlight-attribute); */
color: #015692
}
.hljs-attribute {
/* var(--highlight-symbol) */
color: #803378
}
.hljs-name,
.hljs-type,
.hljs-number,
.hljs-selector-id,
.hljs-quote,
.hljs-template-tag {
/* var(--highlight-namespace) */
color: #b75501
}
.hljs-selector-class {
/* var(--highlight-keyword) */
color: #015692
}
.hljs-string,
.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr {
/* var(--highlight-variable) */
color: #54790d
}
.hljs-meta,
.hljs-selector-pseudo {
/* var(--highlight-keyword) */
color: #015692
}
.hljs-built_in,
.hljs-title,
.hljs-literal {
/* var(--highlight-literal) */
color: #b75501
}
.hljs-bullet,
.hljs-code {
/* var(--highlight-punctuation) */
color: #535a60
}
.hljs-meta .hljs-string {
/* var(--highlight-variable) */
color: #54790d
}
.hljs-deletion {
/* var(--highlight-deletion) */
color: #c02d2e
}
.hljs-addition {
/* var(--highlight-addition) */
color: #2f6f44
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-formula,
.hljs-operator,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
/* purposely ignored */
}

View File

@@ -0,0 +1,89 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs {
background: #000;
color: #f8f8f8
}
.hljs-comment,
.hljs-quote {
color: #aeaeae;
font-style: italic
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #e28964
}
.hljs-string {
color: #65b042
}
.hljs-subst {
color: #daefa3
}
.hljs-regexp,
.hljs-link {
color: #e9c062
}
.hljs-title,
.hljs-section,
.hljs-tag,
.hljs-name {
color: #89bdff
}
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-doctag {
text-decoration: underline
}
.hljs-symbol,
.hljs-bullet,
.hljs-number {
color: #3387cc
}
.hljs-params,
.hljs-variable,
.hljs-template-variable {
color: #3e87e3
}
.hljs-attribute {
color: #cda869
}
.hljs-meta {
color: #8996a8
}
.hljs-formula {
background-color: #0e2231;
color: #f8f8f8;
font-style: italic
}
.hljs-addition {
background-color: #253b22;
color: #f8f8f8
}
.hljs-deletion {
background-color: #420e09;
color: #f8f8f8
}
.hljs-selector-class {
color: #9b703f
}
.hljs-selector-id {
color: #8b98ab
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,114 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: Tokyo-night-Dark
origin: https://github.com/enkia/tokyo-night-vscode-theme
Description: Original highlight.js style
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
License: see project LICENSE
Touched: 2022
*/
/* Comment */
.hljs-meta,
.hljs-comment {
color: #565f89
}
/* Red */
/*INFO: This keyword, HTML elements, Regex group symbol, CSS units, Terminal Red */
.hljs-tag,
.hljs-doctag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-template-tag,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_,
.hljs-deletion {
color: #f7768e
}
/*Orange */
/*INFO: Number and Boolean constants, Language support constants */
.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-link {
color: #ff9e64
}
/* Yellow */
/* INFO: Function parameters, Regex character sets, Terminal Yellow */
.hljs-built_in,
.hljs-attribute {
color: #e0af68
}
/* cyan */
/* INFO: Language support functions, CSS HTML elements */
.hljs-selector-tag {
color: #2ac3de
}
/* light blue */
/* INFO: Object properties, Regex quantifiers and flags, Markdown headings, Terminal Cyan, Markdown code, Import/export keywords */
.hljs-keyword,
.hljs-title.function_,
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-subst,
.hljs-property {
color: #7dcfff
}
/*Green*/
/* INFO: Object literal keys, Markdown links, Terminal Green */
.hljs-selector-tag {
color: #73daca
}
/*Green(er) */
/* INFO: Strings, CSS class names */
.hljs-quote,
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #9ece6a
}
/* Blue */
/* INFO: Function names, CSS property names, Terminal Blue */
.hljs-code,
.hljs-formula,
.hljs-section {
color: #7aa2f7
}
/* Magenta */
/*INFO: Control Keywords, Storage Types, Regex symbols and operators, HTML Attributes, Terminal Magenta */
.hljs-name,
.hljs-keyword,
.hljs-operator,
.hljs-keyword,
.hljs-char.escape_,
.hljs-attr {
color: #bb9af7
}
/* white*/
/* INFO: Variables, Class names, Terminal White */
.hljs-punctuation {
color: #c0caf5
}
.hljs {
background: #1a1b26;
color: #9aa5ce
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,114 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*!
Theme: Tokyo-night-light
origin: https://github.com/enkia/tokyo-night-vscode-theme
Description: Original highlight.js style
Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
License: see project LICENSE
Touched: 2022
*/
/* Comment */
.hljs-meta,
.hljs-comment {
color: #9699a3
}
/* Red */
/*INFO: This keyword, HTML elements, Regex group symbol, CSS units, Terminal Red */
.hljs-tag,
.hljs-doctag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-template-tag,
.hljs-selector-pseudo,
.hljs-selector-attr,
.hljs-variable.language_,
.hljs-deletion {
color: #8c4351
}
/*Orange */
/*INFO: Number and Boolean constants, Language support constants */
.hljs-variable,
.hljs-template-variable,
.hljs-number,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-link {
color: #965027
}
/* Yellow */
/* INFO: Function parameters, Regex character sets, Terminal Yellow */
.hljs-built_in,
.hljs-attribute {
color: #8f5e15
}
/* cyan */
/* INFO: Language support functions, CSS HTML elements */
.hljs-selector-tag {
color: #166775
}
/* light blue */
/* INFO: Object properties, Regex quantifiers and flags, Markdown headings, Terminal Cyan, Markdown code, Import/export keywords */
.hljs-keyword,
.hljs-title.function_,
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-subst,
.hljs-property {
color: #0f4b6e
}
/*Green*/
/* INFO: Object literal keys, Markdown links, Terminal Green */
.hljs-selector-tag {
color: #33635c
}
/*Green(er) */
/* INFO: Strings, CSS class names */
.hljs-quote,
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #485e30
}
/* Blue */
/* INFO: Function names, CSS property names, Terminal Blue */
.hljs-code,
.hljs-formula,
.hljs-section {
color: #34548a
}
/* Magenta */
/*INFO: Control Keywords, Storage Types, Regex symbols and operators, HTML Attributes, Terminal Magenta */
.hljs-name,
.hljs-keyword,
.hljs-operator,
.hljs-keyword,
.hljs-char.escape_,
.hljs-attr {
color: #5a4a78
}
/* white*/
/* INFO: Variables, Class names, Terminal White */
.hljs-punctuation {
color: #343b58
}
.hljs {
background: #d5d6db;
color: #565a6e
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,69 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/* Tomorrow Night Blue Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
color: #7285b7
}
/* Tomorrow Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #ff9da4
}
/* Tomorrow Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #ffc58f
}
/* Tomorrow Yellow */
.hljs-attribute {
color: #ffeead
}
/* Tomorrow Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #d1f1a9
}
/* Tomorrow Blue */
.hljs-title,
.hljs-section {
color: #bbdaff
}
/* Tomorrow Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #ebbbff
}
.hljs {
background: #002451;
color: white
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,68 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/* Tomorrow Night Bright Theme */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
color: #969896
}
/* Tomorrow Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #d54e53
}
/* Tomorrow Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #e78c45
}
/* Tomorrow Yellow */
.hljs-attribute {
color: #e7c547
}
/* Tomorrow Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #b9ca4a
}
/* Tomorrow Blue */
.hljs-title,
.hljs-section {
color: #7aa6da
}
/* Tomorrow Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #c397d8
}
.hljs {
background: black;
color: #eaeaea
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

63
assets/highlights/vs.css Normal file
View File

@@ -0,0 +1,63 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
*/
.hljs {
background: white;
color: black
}
.hljs-comment,
.hljs-quote,
.hljs-variable {
color: #008000
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
color: #00f
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
color: #a31515
}
.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
color: #2b91af
}
.hljs-doctag {
color: #808080
}
.hljs-attr {
color: #f00
}
.hljs-symbol,
.hljs-bullet,
.hljs-link {
color: #00b0e8
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}

View File

@@ -0,0 +1,100 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
* Visual Studio 2015 dark style
* Author: Nicolas LLOBERA <nllobera@gmail.com>
*/
.hljs {
background: #1E1E1E;
color: #DCDCDC
}
.hljs-keyword,
.hljs-literal,
.hljs-symbol,
.hljs-name {
color: #569CD6
}
.hljs-link {
color: #569CD6;
text-decoration: underline
}
.hljs-built_in,
.hljs-type {
color: #4EC9B0
}
.hljs-number,
.hljs-class {
color: #B8D7A3
}
.hljs-string,
.hljs-meta .hljs-string {
color: #D69D85
}
.hljs-regexp,
.hljs-template-tag {
color: #9A5334
}
.hljs-subst,
.hljs-function,
.hljs-title,
.hljs-params,
.hljs-formula {
color: #DCDCDC
}
.hljs-comment,
.hljs-quote {
color: #57A64A;
font-style: italic
}
.hljs-doctag {
color: #608B4E
}
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-tag {
color: #9B9B9B
}
.hljs-variable,
.hljs-template-variable {
color: #BD63C5
}
.hljs-attr,
.hljs-attribute {
color: #9CDCFE
}
.hljs-section {
color: gold
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
/*.hljs-code {
font-family:'Monospace';
}*/
.hljs-bullet,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #D7BA7D
}
.hljs-addition {
background-color: #144212;
display: inline-block;
width: 100%
}
.hljs-deletion {
background-color: #600;
display: inline-block;
width: 100%
}

View File

@@ -0,0 +1,90 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
*/
.hljs {
background: #fff;
color: black
}
/* Gray DOCTYPE selectors like WebKit */
.xml .hljs-meta {
color: #c0c0c0
}
.hljs-comment,
.hljs-quote {
color: #007400
}
.hljs-tag,
.hljs-attribute,
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-name {
color: #aa0d91
}
.hljs-variable,
.hljs-template-variable {
color: #3F6E74
}
.hljs-code,
.hljs-string,
.hljs-meta .hljs-string {
color: #c41a16
}
.hljs-regexp,
.hljs-link {
color: #0E0EFF
}
.hljs-title,
.hljs-symbol,
.hljs-bullet,
.hljs-number {
color: #1c00cf
}
.hljs-section,
.hljs-meta {
color: #643820
}
.hljs-title.class_,
.hljs-class .hljs-title,
.hljs-type,
.hljs-built_in,
.hljs-params {
color: #5c2699
}
.hljs-attr {
color: #836C28
}
.hljs-subst {
color: #000
}
.hljs-formula {
background-color: #eee;
font-style: italic
}
.hljs-addition {
background-color: #baeeba
}
.hljs-deletion {
background-color: #ffc8bd
}
.hljs-selector-id,
.hljs-selector-class {
color: #9b703f
}
.hljs-doctag,
.hljs-strong {
font-weight: bold
}
.hljs-emphasis {
font-style: italic
}

View File

@@ -0,0 +1,79 @@
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em
}
code.hljs {
padding: 3px 5px
}
/*
xt256.css
Contact: initbar [at] protonmail [dot] ch
: github.com/initbar
*/
.hljs {
color: #eaeaea;
background: #000
}
.hljs-subst {
color: #eaeaea
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
.hljs-type {
color: #eaeaea
}
.hljs-params {
color: #da0000
}
.hljs-literal,
.hljs-number,
.hljs-name {
color: #ff0000;
font-weight: bolder
}
.hljs-comment {
color: #969896
}
.hljs-selector-id,
.hljs-quote {
color: #00ffff
}
.hljs-template-variable,
.hljs-variable,
.hljs-title {
color: #00ffff;
font-weight: bold
}
.hljs-selector-class,
.hljs-keyword,
.hljs-symbol {
color: #fff000
}
.hljs-string,
.hljs-bullet {
color: #00ff00
}
.hljs-tag,
.hljs-section {
color: #000fff
}
.hljs-selector-tag {
color: #000fff;
font-weight: bold
}
.hljs-attribute,
.hljs-built_in,
.hljs-regexp,
.hljs-link {
color: #ff00ff
}
.hljs-meta {
color: #fff;
font-weight: bolder
}

BIN
assets/lib.wasm Normal file

Binary file not shown.

212
assets/themes.json Normal file
View File

@@ -0,0 +1,212 @@
[
{
"name": "小红书哲学风2",
"className": "xhs-philosophy2",
"desc": "项飙访谈风格,大号标题+序号章节+引号装饰,适合深度思辨文章",
"author": "gavin"
},
{
"name": "小红书哲学风",
"className": "xhs-philosophy",
"desc": "适合哲学思辨类文章的现代排版风格,具有小红书平台特色",
"author": "gavin"
},
{
"name": "微信专业版",
"className": "wx-mp-pro",
"desc": "适合技术教程的专业微信公众号样式",
"author": "gavin"
},
{
"name": "Maple",
"className": "maple",
"desc": "改自https://github.com/xbmlz/hexo-theme-maple",
"author": "Sun Booshi"
},
{
"name": "MWeb Ayu",
"className": "mweb-ayu",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Bear Default",
"className": "mweb-bear-default",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Contrast",
"className": "mweb-contrast",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb D Boring",
"className": "mweb-d-boring",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Default",
"className": "mweb-default",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Duotone Heat",
"className": "mweb-duotone-heat",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Duotone Light",
"className": "mweb-duotone-light",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Gandalf",
"className": "mweb-gandalf",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Indigo",
"className": "mweb-indigo",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Jzman",
"className": "mweb-jzman",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Lark Bold Color",
"className": "mweb-lark-bold-color",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Lark",
"className": "mweb-lark",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Olive Dunk",
"className": "mweb-olive-dunk",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Red Graphite",
"className": "mweb-red-graphite",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Smartblue",
"className": "mweb-smartblue",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Solarized Light",
"className": "mweb-solarized-light",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Typo",
"className": "mweb-typo",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb V Green",
"className": "mweb-v-green",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Vue",
"className": "mweb-vue",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Ayu Mirage",
"className": "mweb-ayu-mirage",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Charcoal",
"className": "mweb-charcoal",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Cobalt",
"className": "mweb-cobalt",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Dark Graphite",
"className": "mweb-dark-graphite",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Dieci",
"className": "mweb-dieci",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Dracula",
"className": "mweb-dracula",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Gotham",
"className": "mweb-gotham",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Lighthouse",
"className": "mweb-lighthouse",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Nord",
"className": "mweb-nord",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Panic",
"className": "mweb-panic",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Solarized Dark",
"className": "mweb-solarized-dark",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
},
{
"name": "MWeb Toothpaste",
"className": "mweb-toothpaste",
"desc": "MWeb-Themes https://github.com/imageslr/mweb-themes",
"author": "imageslr"
}
]

318
assets/themes/maple.css Normal file
View File

@@ -0,0 +1,318 @@
/* =========================================================== */
/* 笔记样式 https://github.com/xbmlz/hexo-theme-maple */
/* =========================================================== */
.note2any {
user-select: text;
-webkit-user-select: text;
color: #555;
font-family: "Inter", Inter var, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
.note2any:last-child {
margin-bottom: 0;
}
.note2any .fancybox-img {
border: none;
}
.note2any .fancybox-img:hover {
opacity: none;
border: none;
}
/*
=================================
Heading
==================================
*/
.note2any h1 {
color: #222;
font-weight: 800;
font-size: 2.25em;
margin-top: 0;
margin-bottom: 0.8888889em;
line-height: 1.1111111;
}
.note2any h2 {
color: inherit;
font-weight: 700;
font-size: 1.5em;
margin-top: 2em;
margin-bottom: 1em;
line-height: 1.3333333;
}
.note2any h3 {
color: inherit;
font-weight: 600;
font-size: 1.25em;
margin-top: 1.6em;
margin-bottom: 0.6em;
line-height: 1.6;
}
.note2any h4 {
color: inherit;
font-weight: 600;
margin-top: 1.5em;
margin-bottom: 0.5em;
line-height: 1.5;
}
/*
=================================
Horizontal Rules
==================================
*/
.note2any hr {
border-color: rgba(125, 125, 125, 0.3);
margin-top: 3em;
margin-bottom: 3em;
}
/*
=================================
Paragraphs
==================================
*/
.note2any p {
margin: 1em 0;
}
/*
=================================
Emphasis
==================================
*/
.note2any strong {
color: #222;
font-weight: 600;
}
.note2any em {
color: inherit;
}
.note2any s {
color: inherit;
}
/*
=================================
Blockquotes
==================================
*/
.note2any blockquote {
font-size: 1rem;
display: block;
margin: 1em 0;
padding: 1em 1.2em 1em 1.2em;
position: relative;
color: inherit;
border-left: 0.25rem solid rgba(125, 125, 125, 0.302);
}
.note2any blockquote p {
margin: 0;
}
.note2any blockquote footer strong {
margin-right: 0.5em;
}
/*
=================================
List
==================================
*/
.note2any ul {
margin: 0;
/* padding: 0; */
margin-top: 1.25em;
margin-bottom: 1.25em;
}
.note2any ul>li {
position: relative;
/* padding-left: 1.75rem; */
line-height: 1.8em;
}
.note2any ul>li::marker {
color: #555;
/* font-size: 1.5em; */
}
.note2any ol {
margin: 0;
padding: 0;
margin-top: 1.25em;
margin-bottom: 0em;
list-style-type: decimal;
}
.note2any ol>li {
position: relative;
padding-left: 0.8em;
margin-left: 2em;
line-height: 1.8em;
}
/*
=================================
Link
==================================
*/
.note2any a {
color: #000;
text-decoration: none;
font-weight: 500;
text-decoration: none;
border-bottom: 1px solid rgba(125, 125, 125, 0.3);
transition: border 0.3s ease-in-out;
}
.note2any a:hover {
border-bottom: 1px solid #555;
}
/*
=================================
Table
==================================
*/
.note2any table {
width: 100%;
table-layout: auto;
text-align: left;
margin-top: 2em;
margin-bottom: 2em;
font-size: 0.875em;
line-height: 1.7142857;
border-collapse: collapse;
border-color: inherit;
text-indent: 0;
}
.note2any table thead {
color: #000;
font-weight: 600;
border-bottom-width: 1px;
border-bottom-color: #d1d5db;
}
.note2any table thead th {
vertical-align: bottom;
padding-right: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
}
.note2any table thead th:first-child {
padding-left: 0;
}
.note2any table thead th:last-child {
padding-right: 0;
}
.note2any table tbody tr {
border-bottom-width: 1px;
border-bottom-color: #e5e7eb;
}
.note2any table tbody tr:last-child {
border-bottom-width: 0;
}
.note2any table tbody td {
vertical-align: top;
padding-top: 0.5714286em;
padding-right: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
}
.note2any table tbody td:first-child {
padding-left: 0;
}
.note2any table tbody td:last-child {
padding-right: 0;
}
/*
=================================
Images
==================================
*/
.note2any img {
margin: 2em auto;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
/*
=================================
Code
==================================
*/
.note2any .code-section {
display: flex;
border: solid 1px rgb(240, 240, 240);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul>li {
line-height: 26px;
text-align: right;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
background: transparent !important;
}
.note2any code {
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
color: #333;
background: rgb(250, 250, 250);
font-size: 0.875em;
padding: 1em;
text-wrap: nowrap;
}
.note2any .code-section pre code {
color: inherit;
display: flex;
text-wrap: nowrap;
font-size: inherit;
padding: 0;
background: transparent;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(217, 215, 209);
background-color: rgb(31, 35, 47);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(159, 170, 185);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(60, 66, 84);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(254, 203, 102);
color: rgb(217, 215, 209);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(254, 203, 102);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(254, 203, 102) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(254, 203, 102);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(120, 126, 140);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(17, 110, 84);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(207, 208, 203);
border-collapse: collapse;
background-color: rgb(24, 28, 37);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(60, 66, 84);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(207, 208, 203);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(60, 66, 84);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

245
assets/themes/mweb-ayu.css Normal file
View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(107, 104, 132);
background-color: rgb(250, 250, 250);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(77, 82, 85);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(191, 193, 196);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(255, 106, 0);
color: rgb(107, 104, 132);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(255, 106, 0);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(255, 106, 0) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(230, 103, 0);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(141, 143, 149);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(230, 249, 189);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(39, 45, 56);
border-collapse: collapse;
background-color: rgb(255, 255, 255);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(191, 193, 196);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(39, 45, 56);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(191, 193, 196);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: #222222;
background-color: white;
line-height: 1.6em;
margin: 0 0;
padding: 0 0;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: #262626;
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: #bfbfbf;
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid #353535;
color: #222222;
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: #353535;
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #353535 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: #2478c5;
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: #525252;
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: #fcffc0;
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: #424242;
border-collapse: collapse;
background-color: white;
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid #bfbfbf;
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: #424242;
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px #bfbfbf;
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(166, 166, 166);
background-color: rgb(46, 50, 53);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(172, 172, 172);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(62, 67, 72);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(155, 183, 196);
color: rgb(166, 166, 166);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(155, 183, 196);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(155, 183, 196) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(171, 196, 207);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(122, 122, 122);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(7, 16, 25);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(153, 153, 153);
border-collapse: collapse;
background-color: rgb(47, 51, 55);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(62, 67, 72);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(153, 153, 153);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(62, 67, 72);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(219, 240, 239);
background-color: rgb(20, 39, 56);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(211, 200, 69);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(16, 36, 50);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(252, 133, 30);
color: rgb(219, 240, 239);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(252, 133, 30);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(252, 133, 30) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(54, 201, 155);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(172, 191, 195);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(61, 0, 77);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(225, 239, 243);
border-collapse: collapse;
background-color: rgb(21, 45, 62);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(16, 36, 50);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(225, 239, 243);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(16, 36, 50);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: #222222;
background-color: #F9F9F9;
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: #262626;
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: #bfbfbf;
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid #2478c5;
color: #222222;
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: #2478c5;
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #2478c5 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: #2478c5;
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: #525252;
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: #d3ffa4;
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: #424242;
border-collapse: collapse;
background-color: white;
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid #bfbfbf;
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: #424242;
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px #bfbfbf;
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(0, 0, 0);
background-color: rgb(251, 250, 252);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(0, 0, 0);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(199, 199, 199);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(127, 127, 127);
color: rgb(0, 0, 0);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(127, 127, 127);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(127, 127, 127) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(80, 112, 139);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(128, 126, 128);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(254, 255, 83);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(38, 37, 38);
border-collapse: collapse;
background-color: rgb(253, 253, 253);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(199, 199, 199);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(38, 37, 38);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(199, 199, 199);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(221, 221, 221);
background-color: rgb(30, 32, 34);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(203, 219, 229);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(87, 87, 87);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(74, 168, 251);
color: rgb(221, 221, 221);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(74, 168, 251);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(74, 168, 251) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(107, 202, 251);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(111, 115, 115);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(38, 60, 146);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(255, 254, 255);
border-collapse: collapse;
background-color: rgb(36, 36, 36);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(87, 87, 87);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(255, 254, 255);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(87, 87, 87);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,213 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default theme适用于 core/mweb-base.scss。
* 取值参考 chrome 默认样式:
* https://chromium.googlesource.com/chromium/blink/+/refs/heads/main/Source/core/css/html.css
* 所有 import "core/mweb-base.scss" 的文件都应该同时导入此变量文件。
*/
/* color */
/* font & line */
/* boxing */
/* elememts */
/*
* 基准样式,相当于 reset.css使主题在不同平台下有统一的表现。
* 各个属性的默认值为 chrome 的默认样式,见 variables/default.scss。
*/
/**
* MWeb 包裹 markdown 的容器是 .note2any
* Typora 中是 #write
*/
.note2any {
line-height: 1.6em;
-webkit-text-size-adjust: 100%;
margin: 0 0;
padding: 0 0;
font-family: PingFang SC, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
font-size: 16px;
color: black;
background-color: white;
/* spacing */
/* block */
/* list */
/* inline */
/* table */
/* svg */
}
.note2any p, .note2any details, .note2any dl, .note2any ol, .note2any ul, .note2any pre, .note2any xmp, .note2any plaintext, .note2any listing, .note2any blockquote, .note2any table, .note2any figure, .note2any hr {
margin-top: 0.75em;
margin-bottom: 0.75em;
}
.note2any h1 {
font-size: 2em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any h2 {
font-size: 1.5em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any h3 {
font-size: 1.17em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any h4 {
font-size: 1em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any h5 {
font-size: 0.83em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any h6 {
font-size: 0.67em;
font-weight: bold;
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre, .note2any xmp, .note2any plaintext, .note2any listing {
font-family: monospace, Menlo-Regular, Menlo, Monaco, Consolas, "Courier New";
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any hr {
border-style: inset;
border-width: 1px;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any li {
word-wrap: break-all;
}
.note2any li + li {
margin-top: 0.25em;
}
.note2any ul ul, .note2any ol ul, .note2any ul ol, .note2any ol ol {
margin-top: 0;
margin-bottom: 0;
}
.note2any .task-list-item {
list-style-type: none;
}
.note2any a {
color: -webkit-link;
text-decoration: underline;
}
.note2any a img {
border: none;
}
.note2any b, .note2any strong {
font-weight: bold;
}
.note2any i, .note2any cite, .note2any em, .note2any var, .note2any address, .note2any dfn {
font-style: italic;
}
.note2any code, .note2any kbd, .note2any tt, .note2any samp {
font-family: monospace, Menlo-Regular, Menlo, Monaco, Consolas, "Courier New";
}
.note2any mark {
padding: 0.2em 0;
background-color: yellow;
}
.note2any del, .note2any s {
color: inherit;
}
.note2any table {
color: black;
border-collapse: collapse;
background-color: white;
border-spacing: 2px;
font-size: 1em;
}
.note2any th, .note2any td {
border-color: gray;
border-width: 1px;
border-style: solid;
}
.note2any th {
padding: 4px 8px;
font-size: 1em;
font-weight: bold;
}
.note2any td {
padding: 4px 8px;
font-size: 1em;
font-weight: normal;
}
.note2any div[id^=mweb-chart-ele] svg {
background-color: white;
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px gray;
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: monospace, Menlo-Regular, Menlo, Monaco, Consolas, "Courier New";
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: monospace, Menlo-Regular, Menlo, Monaco, Consolas, "Courier New";
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}
.note2any .code-section ul li {
margin: 0;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(212, 212, 212);
background-color: rgb(0, 0, 0);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(252, 206, 35);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(29, 29, 29);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(242, 148, 41);
color: rgb(212, 212, 212);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(242, 148, 41);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(242, 148, 41) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(227, 146, 9);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(146, 147, 146);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(16, 68, 3);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(229, 227, 229);
border-collapse: collapse;
background-color: rgb(16, 16, 16);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(29, 29, 29);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(229, 227, 229);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(29, 29, 29);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(255, 255, 255);
background-color: rgb(53, 56, 70);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(80, 250, 123);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgba(187, 145, 248, 0.4);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(205, 174, 249);
color: rgb(255, 255, 255);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(205, 174, 249);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(205, 174, 249) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(139, 233, 253);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(178, 184, 163);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(95, 99, 117);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(249, 249, 245);
border-collapse: collapse;
background-color: rgb(31, 32, 42);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgba(187, 145, 248, 0.4);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(249, 249, 245);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgba(187, 145, 248, 0.4);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

View File

@@ -0,0 +1,245 @@
/*
* PrismJS default theme
* 这个文件只应该包含变量
*/
/*
* Default bear theme适用于 core/mweb-bear.scss。
* 所有 bear 主题,只需 import 这个文件,然后修改配色方案即可。
*/
/* font */
/* container */
/* spacing */
/* color */
/* other */
/**
* 在 bear 的主题中,某些变量的取值和其他变量是绑定的。
* 统一写在这里,这个文件应该在变量文件的最后被引入。
*/
/**
* Bear 的默认样式表。通过调整各个颜色变量的取值,就可以得到不同的 bear 主题。
* Bear 的配色方案位于 src/themes/bear-palettes 目录下。
*/
.note2any {
font-size: 16px;
color: rgb(101, 96, 101);
background-color: rgb(251, 250, 249);
line-height: 1.6em;
margin: 0 0;
padding: 1em 1em;
}
.note2any p,
.note2any pre,
.note2any dl,
.note2any form,
.note2any details,
.note2any dl,
.note2any blockquote,
.note2any table,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any figure {
margin: 0.75em 0 0.45em;
}
.note2any hr {
margin: 0.75em auto;
}
.note2any h1,
.note2any h2,
.note2any h3,
.note2any h4,
.note2any h5,
.note2any h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
margin-left: 0;
margin-right: 0;
font-weight: 600;
line-height: 1.5em;
color: rgb(138, 74, 169);
}
.note2any h1 {
font-size: 1.5em;
}
.note2any h2 {
font-size: 1.3em;
}
.note2any h3 {
font-size: 1.1em;
}
.note2any h4 {
font-size: 1em;
}
.note2any h5 {
font-size: 1em;
}
.note2any h6 {
font-size: 1em;
}
.note2any hr {
height: 1px;
border: 0;
background-color: rgb(211, 197, 211);
border-style: inset;
border-width: 1px;
}
.note2any p {
margin-left: 0;
margin-right: 0;
}
.note2any pre {
padding: 0;
border: 0;
}
.note2any blockquote {
display: block;
padding-left: 0.8em;
border-left: 0.2em solid rgb(202, 124, 208);
color: rgb(101, 96, 101);
}
.note2any blockquote > :first-child {
margin-top: 0;
}
.note2any blockquote > :last-child {
margin-bottom: 0;
}
.note2any li {
word-wrap: break-all;
}
.note2any ul {
margin-left: 1.3em;
padding: 0;
}
.note2any li::marker {
color: rgb(202, 124, 208);
}
.note2any li > p {
margin: 0;
}
.note2any ol {
padding-left: 1.3em;
list-style-type: decimal;
}
.note2any img {
max-width: 100%;
height: auto;
}
.note2any u {
text-decoration: none;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgb(202, 124, 208) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1em;
}
.note2any a {
color: rgb(183, 71, 175);
text-decoration: none;
}
.note2any a img {
border: none;
}
.note2any b,
.note2any strong {
font-weight: bold;
}
.note2any i,
.note2any cite,
.note2any em,
.note2any var,
.note2any address,
.note2any dfn {
font-style: italic;
}
.note2any del,
.note2any s {
color: rgb(146, 142, 147);
}
.note2any pre,
.note2any xmp,
.note2any plaintext,
.note2any listing,
.note2any code,
.note2any kbd,
.note2any tt,
.note2any samp {
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: rgb(242, 193, 209);
}
.note2any figcaption {
text-align: center;
}
.note2any table {
color: rgb(89, 84, 89);
border-collapse: collapse;
background-color: rgb(255, 253, 253);
border-spacing: 2px;
font-size: 1em;
border: 1px;
border-spacing: 0;
}
.note2any th,
.note2any td {
padding: 0.7em 1em;
font-size: 0.9em;
border: 1px solid rgb(211, 197, 211);
}
.note2any caption,
.note2any th,
.note2any td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
.note2any .footnotes > ol li {
text-indent: 0;
}
.note2any .footnotes hr {
margin-top: 4em;
margin-bottom: 0.5em;
}
.note2any code {
display: inline;
color: rgb(89, 84, 89);
}
/* 代码块 */
.note2any .code-section {
display: flex;
border: solid 1px rgb(211, 197, 211);
margin: 1.5em 0;
line-height: 26px;
padding: 0.5em;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section pre {
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
white-space: normal;
overflow-x: auto;
padding: 0 0 0 1em;
}
.note2any .code-section code {
display: flex;
text-wrap: nowrap;
font-family: Menlo-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}
.note2any .code-section ul {
margin: 0;
padding: 0;
margin-block-start: 0;
margin-block-end: 0;
width: fit-content;
flex-shrink: 0;
height: 100%;
line-height: 26px;
list-style-type: none;
}
.note2any .code-section ul > li {
text-align: right;
}

Some files were not shown because too many files have changed in this diff Show More