Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Fix a problem that may cause the hint list to be coverd by tiddler.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gk0Wk committed Aug 26, 2021
1 parent f95a762 commit 96f3aea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -8,8 +8,6 @@ Adds Syntax Highlighting for TiddlyWiki5 tiddlers (`text/vnd.tiddlywiki`) to the

---

[TOC]

## 插件说明

增加 [CodeMirror](http://codemirror.net) 对TiddlyWiki5语法高亮的支持,所有MIME类型留空或者为`text/vnd.tiddlywiki`的tiddler都会有高亮。同时支持像`VSCode`那样在打字时实时进行代码补全提示(目前仅实现了WikiLink补全),且**不需要**`Ctrl+Space`激活。
Expand All @@ -18,7 +16,7 @@ Adds Syntax Highlighting for TiddlyWiki5 tiddlers (`text/vnd.tiddlywiki`) to the

## 安装&编译

<span style="color: red; font-weight: 900;">请首先安装最新版CodeMirror主插件和CodeMirror XML子插件(不然会报错)。</span>
<span style="color: red; font-weight: 900;">请首先安装最新版`CodeMirror`主插件、`CodeMirror Mode XML`子插件和`CodeMirror Autocomplete`子插件(不然会报错)。</span>

直接去[Release](https://github.com/Gk0Wk/CodeMirror-Mode-TiddlyWiki5/releases)下载`CodeMirrorModeTiddlyWiki5-X.X.X.json`,然后将其拖拽到你的TiddlyWiki中,或者在TiddlyWiki中导入之。

Expand Down
4 changes: 1 addition & 3 deletions README_en.md
Expand Up @@ -8,8 +8,6 @@ Adds Syntax Highlighting for TiddlyWiki5 tiddlers (`text/vnd.tiddlywiki`) to the

---

[TOC]

## Plugin description

Add [CodeMirror](http://codemirror.net) support for TiddlyWiki5 syntax highlighting, all tiddlers with MIME type left blank or `text/vnd.tiddlywiki` will be highlighted. Also supports real-time code completion hints like `VSCode` while typing (currently only WikiLink completion is implemented) and **no need** to activate with `Ctrl+Space`.
Expand All @@ -18,7 +16,7 @@ Plugin is still under development, if you have any suggestions or bugs, please d

## Installation & Compilation

<span style="color: red; font-weight: 900;">First install the latest version of CodeMirror main plugin and CodeMirror XML sub-plugin (otherwise it will report an error).</span>
<span style="color: red; font-weight: 900;">First install the latest version of `CodeMirror` main plugin, `CodeMirror Mode XML` sub-plugin and `CodeMirror Autocomplete` sub-plugin (otherwise it will report an error).</span>

Go directly to [Release](https://github.com/Gk0Wk/CodeMirror-Mode-TiddlyWiki5/releases) and download `CodeMirrorModeTiddlyWiki5-X.X.X.json`, then drag and drop it into your TiddlyWiki, or import it in TiddlyWiki.

Expand Down
5 changes: 5 additions & 0 deletions src/style.css
@@ -1,3 +1,8 @@
.CodeMirror-hints {
/* 以免提示框被压在tiddler下面 */
z-index: 999999999999 !important;
}

span.cm-underlined {
text-decoration-line: underline;
}
Expand Down
2 changes: 1 addition & 1 deletion src/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96f3aea

Please sign in to comment.