Skip to content

Commit c288d3f

Browse files
committed
Update Readme.md
1 parent 2054bdf commit c288d3f

File tree

1 file changed

+143
-31
lines changed

1 file changed

+143
-31
lines changed

Readme.md

Lines changed: 143 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,102 @@
1-
<p align="center">
2-
<a href="https://flowlauncher.com">
3-
<img src="doc/flow.png" width=12.5%>
4-
</a>
5-
<a href="https://www.microsoft.com/en-gb/microsoft-365/onenote/digital-note-taking-app">
6-
<img src= "doc/onenote.png" width=12.5%>
7-
</a>
1+
<p align="center">
2+
<a href="https://flowlauncher.com">
3+
<img src="doc/flow.png" width=12.5%>
4+
</a>
5+
<a href="https://www.microsoft.com/en-gb/microsoft-365/onenote/digital-note-taking-app">
6+
<img src= "doc/onenote.png" width=12.5%>
7+
</a>
88
</p>
99
<h1 align="center">OneNote for Flow Launcher</h1>
1010

1111
A [OneNote](https://www.microsoft.com/en-gb/microsoft-365/onenote/digital-note-taking-app) plugin for the [Flow launcher](https://github.com/Flow-Launcher/Flow.Launcher), allowing for the ability to quickly access and create notes.
1212

1313
<!-- omit from toc -->
14-
## Contents
14+
## Contents
15+
1516
- [Installation](#installation)
1617
- [Features](#features)
17-
- [At a glance](#at-a-glance)
18-
- [Default Search](#default-search)
19-
- [Notebook Explorer](#notebook-explorer)
20-
- [Create New Items](#create-new-items)
21-
- [Recent Pages](#recent-pages)
22-
- [Scoped Search](#scoped-search)
23-
- [Title Search](#title-search)
18+
- [At a glance](#at-a-glance)
19+
- [Default Search](#default-search)
20+
- [Notebook Explorer](#notebook-explorer)
21+
- [Create New Items](#create-new-items)
22+
- [Recent Pages](#recent-pages)
23+
- [Scoped Search](#scoped-search)
24+
- [Title Search](#title-search)
2425
- [Settings](#settings)
25-
- [Keywords](#keywords)
26-
- [2.0 Changelog](#20-changelog)
26+
- [Keywords](#keywords)
27+
- [Changelog](#changelog)
2728
- [Acknowledgements](#acknowledgements)
2829

2930
## Installation
31+
3032
Using Flow Launcher type:
33+
3134
```
3235
pm install OneNote
3336
```
37+
3438
> [!IMPORTANT]
35-
> Requires at least Flow Launcher version 1.16.
39+
> For [version 2.0+](#changelog) requires at least Flow Launcher version 1.16.
3640
3741
## Features
42+
3843
### At a glance
44+
3945
| Keyword | Name | Description |
4046
| ---------------------------- | --------------------------------------- | ---------------------------- |
4147
| `` on {your search query} `` | [Default Search](#default-search) | Search OneNote pages |
4248
| `` on nb:\ `` | [Notebook Explorer](#notebook-explorer) | Navigate notebooks hierarchy |
4349
| `` on rcntpgs: `` | [Recent Pages](#recent-pages) | View recently modified pages |
4450

51+
<!-- omit from toc -->
52+
#### Modifiers
53+
54+
| Keyword | Name | Notes |
55+
| ------- | ------------------------------- | -------------------------------------------- |
56+
| `` > `` | [Scoped Search](#scoped-search) | Search only within a specific hierarchy item |
57+
| `` * `` | [Title Search](#title-search) | Search only the title of hierarchy items |
58+
59+
> [!NOTE]
60+
> Hierarchy items are notebooks, section groups, sections and pages.
4561
4662
### Default Search
63+
4764
```
4865
on {your search query}
4966
```
50-
This is allows you to search OneNote pages. The OneNote API searches both the content in a page as well as the page title.
67+
68+
This is allows you to search OneNote pages using the OneNote API which searches both the content in a page as well as the page title.
5169

5270
> [!NOTE]
5371
> You can include bitwise operators like `AND` or `OR` (they must be uppercase) in your search. E.g. `on hello there AND general kenobi`.
5472
55-
![default search gif](doc/)
73+
![default search gif]()
5674

5775
### Notebook Explorer
5876

5977
```
6078
on nb:\
6179
```
80+
6281
Transverse your OneNote notebooks explorer style.
6382

6483
- Press <kbd>⏎ Enter</kbd> or <kbd>⇥ Tab</kbd> or left-click on a result to auto complete the query.
6584
- Press <kbd>⇧ Shift</kbd> + <kbd>⏎ Enter</kbd> or right-click on a result to open it directly in OneNote.
6685

67-
see settings for options on recycle bin etc.
86+
![notebook explorer gif]()
6887

69-
![notebook explorer gif](doc/)
70-
71-
> [!INFORMATION]
88+
> [!NOTE]
7289
> Supports all OneNote hierarchy items i.e. notebooks, section groups, sections and pages.
7390
7491
#### Create New Items
7592

7693
Whilst using the notebook explorer, if you search query does not match any names of the items in the results, the plugin will give you an option to create a new item.
7794

78-
![create new section gif](doc/)
95+
![create new section gif]()
7996

80-
> [!INFORMATION]
97+
> [!NOTE]
8198
> Supports all OneNote hierarchy items i.e. notebooks, section groups, sections and pages.
99+
>
82100
### Recent Pages
83101

84102
```
@@ -89,20 +107,114 @@ Displays your recently modified OneNote pages.
89107

90108
Add a number after `` rcntpgs: `` to display that number of recent pages. E.g. the full query ``on rcntpgs:10`` will show the 10 most recently modified pages.
91109

92-
![recent pages gif](doc/)
110+
![recent pages gif]()
111+
93112
### Scoped Search
94113

114+
```
115+
on nb:\{hierarchy path}\>{your search query}
116+
```
117+
118+
Scoped search is the same as [default search](#default-search) but restricted to search within a specific hierarchy item.
119+
120+
> [!IMPORTANT]
121+
> Must be used with [notebook explorer](#notebook-explorer).
122+
123+
![scoped search gif]()
124+
125+
<details>
126+
<summary><h4>Example Queries<h4></summary>
127+
128+
```
129+
on nb:\A Notebook\A Section Group\>hello there
130+
```
131+
132+
Will use the OneNote API to search the hierarchy item `A Section Group` for `hello there`
133+
134+
</details>
135+
95136
### Title Search
96137

138+
```
139+
on *{your search query}
140+
```
141+
142+
Searches for hierarchy items based on their title alone. Unlike [scoped search](#scoped-search) and [default search](#default-search) which only return pages, title search can return all hierarchy item types.
143+
144+
> [!NOTE]
145+
> Can be used in conjunction with [notebook explorer](#notebook-explorer).
146+
147+
![title search gif]()
148+
149+
<details>
150+
<summary><h4>Example Queries<h4></summary>
151+
152+
```
153+
on nb:\A Notebook\A Section Group\*hello there
154+
```
155+
156+
Will search for titles in the hierarchy item `A Section Group` that match or are similar to `hello there`
157+
158+
</details>
97159

98160
## Settings
99161

162+
The plugin has a number of settings such as the ability items in the recycle bin or indicate which pages have unread changes.
163+
164+
<details>
165+
<summary>Screenshot of settings</summary>
166+
<img src= "doc/settings.png" width="820" height="598" alt="settings">
167+
</details>
168+
100169
### Keywords
101170

102-
## 2.0 Changelog
171+
All the keywords used can be changed according to user preference.
172+
173+
<details>
174+
<summary>Screenshot of keywords</summary>
175+
<img src= "doc/keywords.png" alt="keywords">
176+
</details>
177+
178+
<details>
179+
<summary><h2 id="changelog">2.0.0 Changelog: Massive Refactor and New Features</h2></summary>
180+
181+
<!-- omit from toc -->
182+
### 2.0.0 - 2023-mm-dd
183+
184+
<!-- omit from toc -->
185+
#### Added
186+
187+
- **[Created custom OneNote parser/library](https://github.com/Odotocodot.OneNote.Linq)** Adding the ability for several new features.
188+
- Support for section groups when using the notebook explorer.
189+
- Support for displaying unread results.
190+
- Support for showing locked sections in results (you still can't see inside them unless they are unlocked).
191+
- The ability to search by only title.
192+
- The ability to do a scoped search (e.g. search in one section only).
193+
- **Settings!** You can change these options:
194+
- Show unread icons
195+
- Show encrypted sections
196+
- Show recycle bin items
197+
- Created coloured icons for notebook and sections
198+
- Default number of recent pages
199+
- **Customisable keywords!**
200+
201+
<!-- omit from toc -->
202+
#### Changed
203+
204+
- Compressed all images
205+
- Reduced the calls to create a OneNote COM object, this should lead to a overall smoother experience
206+
- Updated to .NET 7 (update Flow Launcher if an error persists)
207+
- Refactored most of the code.
208+
209+
<!-- omit from toc -->
210+
#### Removed
211+
212+
- [Scipbe.Common.Office.OneNote](https://github.com/scipbe/ScipBe-Common-Office) package reference.
213+
214+
</details>
103215

104216
## Acknowledgements
105217

106-
- Made with [Odotocodot.OneNote.Linq](https://github.com/Odotocodot.OneNote.Linq) a library for exposing the OneNote API also made by me :smiley:.
107-
- Inspired by the OneNote plugin for [PowerToys](https://github.com/microsoft/PowerToys/tree/main/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.OneNote).
108-
- Icons from [Icons8](https://icons8.com).
218+
- Made with [Odotocodot.OneNote.Linq](https://github.com/Odotocodot.OneNote.Linq) a library for exposing the OneNote API also made by me :smiley:
219+
- Inspired by the OneNote plugin for [PowerToys](https://github.com/microsoft/PowerToys/tree/main/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.OneNote)
220+
- Icons from [Icons8](https://icons8.com)

0 commit comments

Comments
 (0)