nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.
https://nvim-orgmode.github.io/
MIT License
2.98k stars 130 forks source link

[Feature] support inline code #502

Closed ray-x closed 6 months ago

ray-x commented 1 year ago

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

orgmode allow ~code~ and =code= to embed one line code in the doc. The similar feature in markdown codeA

reference in StackOverflow https://stackoverflow.com/questions/16186843/inline-code-in-org-mode

Feature value

It will be more convenient to use inline embedding instead of src_LANG, and it is easy to type and easy to remember.

Additional context

No response

Maltimore commented 1 year ago

I think nvim-orgmode already has this feature. Did you try it?

ray-x commented 1 year ago

Yes, and no. It feel strange

image

Compared to markdown:

image

Is there anything missing, e.g. concellevel etc? ( set to 1 in the above screenshot)

kristijanhusak commented 6 months ago

You need to set this to true to hide markers https://github.com/nvim-orgmode/orgmode/blob/master/DOCS.md#org_hide_emphasis_markers