https://github.com/masaki39/outline-converter
Convert outline to continuous text.
https://github.com/masaki39/outline-converter
Last synced: 5 months ago
JSON representation
Convert outline to continuous text.
- Host: GitHub
- URL: https://github.com/masaki39/outline-converter
- Owner: masaki39
- License: mit
- Created: 2024-04-09T12:31:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T11:55:58.000Z (6 months ago)
- Last Synced: 2024-11-09T12:31:18.387Z (6 months ago)
- Language: TypeScript
- Size: 9.52 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - masaki39/outline-converter - Convert outline to continuous text. (TypeScript)
README
# Obsidian Outline Converter Plugin
- Obsidian Outline Converter Plugin
- Features
- This plugin converts bullet list outlines into continuous text.
- You can use two commands: `Auto-header converter` & `Custom converter`
- Installation
- You can download from `Community plugins` in Obsidian settings.
- Commands
- You can choose to convert selected text, or if none is selected, all content in the active note will be accessed.
- Auto-header converter
- It automatically determines whether the text is a header or a sentence.
- Custom converter
- Customize how text is handled at each indentation level from 1 to 5.
- Options include inserting text before or after content, ignoring content and using line breaks.
- Replacement
- You can search & replace terms as you like before outputting the connected sentences.
- {{break}}
- Double line breaks are inserted before this sentence, as I configured.
- Insertion
- You can use `{{i:id}}` as insert anything in the active file.
- {{i:mermaid}}
- `{{i:id}}` is replaced with content between `{{s:id}}` and `{{e:id}}`.
- Select export method
- Choose from the following options for exporting your text:
- Copy to clipboard.
- Append to the cursor's current position.
- Append to the bottom of the active note.
- Replace a section; if none exists, create it at the bottom of the note.
- Other commands
- Fold all of indentation levels 1-3.
- Swap lines commands
- In bullet lists, it uses line swapping commands of the Outliner plugin.
- Outside of that, it simply swaps lines.
- Note
- The command of `Auto-header converter` can convert this outline into the text below.{{s:mermaid}}
```mermaid
flowchart TD
OutlineList-->|convert|ContinuousText
ContinuousText-->|replacement×1-5|ReplacedText
ReplacedText-->|+insertion|Export
```{{e:mermaid}}
# Output## Obsidian Outline Converter Plugin
### Features
This plugin converts bullet list outlines into continuous text. You can use two commands: `Auto-header converter` & `Custom converter`
### Installation
You can download from `Community plugins` in Obsidian settings.
### Commands
You can choose to convert selected text, or if none is selected, all content in the active note will be accessed.
#### Auto-header converter
It automatically determines whether the text is a header or a sentence.
#### Custom converter
Customize how text is handled at each indentation level from 1 to 5. Options include inserting text before or after content, ignoring content and using line breaks.
### Replacement
You can search & replace terms as you like before outputting the connected sentences.
Double line breaks are inserted before this sentence, as I configured.
### Insertion
You can use `{{i:id}}` as insert anything in the active file.
```mermaid
flowchart TD
OutlineList-->|convert|ContinuousText
ContinuousText-->|replacement×1-5|ReplacedText
ReplacedText-->|+insertion|Export
````{{i:id}}` is replaced with content between `{{s:id}}` and `{{e:id}}`.
### Select export method
Choose from the following options for exporting your text: Copy to clipboard. Append to the cursor's current position. Append to the bottom of the active note. Replace a section; if none exists, create it at the bottom of the note.
### Other commands
Fold all of indentation levels 1-5.
#### Swap lines commands
In bullet lists, it uses line swapping commands of the Outliner plugin. Outside of that, it simply swaps lines.
### Note
The command of `Auto-header converter` can convert this outline into the text below.