You can search texts in HackMD.

Latest Version

Version
0.5.0.0
Update
June 19, 2022
Size
221KiB
Developer
Category
Users
109
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
日本語
See more
Permissions
Storage
UnlimitedStorage
ClipboardWrite
See more

HackMD Search Extension

With this extension, you can search from sentences of your notes in HackMD.
To reduce the burden of the server, this extension stores your all notes in Chrome extension cache.
Then you can view and download the stored notes.

この拡張機能により、HackMDで未実装の全文検索を行うことができます。
HackMDのサーバーへの負担を軽減するため、この拡張機能は随時ノートの内容を拡張機能のキャッシュとして保存します。
これにより、保存されたノートを閲覧したり、ダウンロードしたりできます。

## Usage
### Search
Input words in the search input field and press Enter, then the results with the highlighted search words will be shown; they are sorted by updated time.

You can utilize some methods and combine them.

全文検索においてはマイナス検索、フレーズ検索、正規表現検索を利用できます。

method\tinput\teffect
default\twords\tsplited with space and find notes with all queries
minus\t-word\texclude notes with minus words from the results
phrase\t\"words\"\twords surrounded \" are not splited even they include spaces
RegEx\treg:regular expression\tyou can use regular expression

### Download and View Stored Notes
On the option page, you can view and download sotred notes.

### Store All Notes
**Backup of all notes are automatically executed** on the initial use and once per a month.
You can also store all notes manually. There are two methods.
- Push `Stote All Notes` in the navi menu
- input `?StoreAllNotes` in the search input field and press Enter,
When you open a note in HackMD, this extension updated the note content in the cache regularly.

初回利用時および1ヶ月に1回、全ノートの保存は自動的に行われます。以下の方法により、手動で行うことも可能です。
- ナビメニューのStore All Notesをクリックする。
- 検索画面で ?StoreAllNotes と入力してEnterを押す。
以降は、ノートの内容はキャッシュへ自動的に保存されます。
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "HackMD Search", "description": "You can search texts in HackMD.", "version": "0.5.0.0", "manifest_version": 3, "icons":{"48":"img/icon_48dp.png"}, "content_scripts": [{ "matches": ["https://hackmd.io/*"], "js": ["js/jquery-3.5.1.min.js", "script/content_script.js"] }], "permissions":["storage", "unlimitedStorage", "clipboardWrite"], "options_ui": { "page": "script/options.html", "open_in_tab": true }}
Read more