-
Notifications
You must be signed in to change notification settings - Fork 0
User Scenario
For users who are not yet familiar with markdown grammar, it is an editor developed to use markdown document modification more intuitively.
-
It is really easy to find the part that the user wants to modify.
This function will be very helpful for users who are not familiar with markdown grammar by making only the part that they want look like markdown grammar.
Simply open the .md file in the project to which the plugin is applied, and the Editor tab is automatically formed at the bottom.
Editor, .md files are modified whenever user move the tab.
There are two ways to select
- Click the part that user want
- Move to the desired part via the up and down arrow keys
The selection is made by the type of markdown (headers, BlockQuote, Ordered List, Unordered List, ...).

The editor divides the types into two main categories
- Single Block
- What's inside a line or block
- Plain Texts, Headers, …
- Multiblock
- This is something that consists of multiple blocks together, occupies multiple lines, and forms part of a document
- Ordered List. Unordered List, Block Quote, …
- Only the selected part will be undone, and it will look like a markdown grammar
- If user select another block after the modification, user can view the rendered text with the modification reflected
-
Single block
- Just need to press Enter once

-
Multi block
- Press Enter once to create an item, so press it once more in this state

-
Single block
- Press the delete button while the content has been erased

-
Multi block
- To delete each item, delete the contents of the item and press the delete button
- Clear all contents and press delete button to delete the entire block

-
When the format of the first or second line is destroyed
- All lines are converted to single blocks.
-
When other lines are destroyed
- The corresponding line is converted into a single block
- If there are more than two lines up or down, it is split into multi blocks

- If there are consecutive single blocks, merge all those blocks into one multi block

- The location clicked before focus and the location after focus are the same
- Move the focus to the optimal caret position by considering the caret position even if you move the focus with the up and down key
⇒ User will not feel uncomfortable with the position of the caret

If user move the tab to an existing .md file, close the tab, or terminate the project, the modifications are automatically applied to the .md file. =>User doesn't have to think about the storage at all!![How_to_open_Editor]