Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timuntersberger/orgdown
Tries to make markdown feel like orgmode
https://github.com/timuntersberger/orgdown
Last synced: about 2 months ago
JSON representation
Tries to make markdown feel like orgmode
- Host: GitHub
- URL: https://github.com/timuntersberger/orgdown
- Owner: TimUntersberger
- License: mit
- Created: 2020-07-17T19:25:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T19:46:16.000Z (over 4 years ago)
- Last Synced: 2024-10-12T14:09:23.014Z (3 months ago)
- Size: 1.95 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# orgdown
Tries to make markdown feel like orgmode## Ideas (WIP)
### Editing speed
The plugin will provide automatic list continuation and so on.
### Visual appeal
Markdown in plain text is boring and plain. I want to use the conceal feature of vim to replace headers, lists and so on with some nice unicode alternatives.
I don't know whether it is possible to make text conditionally bold using conceal, but I want to do it.Every "group", meaning something like a header, is by default a fold. This fold will just look like the normal line (this depends on [this](https://github.com/neovim/neovim/pull/12515) pr to be merged into neovim, else there is no color)
### Code execution
When someone talks about how awesome orgmode is, they almost always mention that you can execute codeblocks in org files. I want to support this by parsing the code block and sending the content to a function defined in userland. This function then returns the resulting output of the code block.
The function for a filetype has to be defined in the config file of vim.
example
```lua
orgdown.code_executors['lua'] = function(content)
-- content is a list of lines
end
```When the cursor is inside a code block you can execute it by using the OrgdownExecute command.
For now I'm thinking about just opening a split/floating window that shows the output.