Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance markdown editing #2070

Open
laoshaw opened this issue Jan 30, 2019 · 4 comments
Open

enhance markdown editing #2070

laoshaw opened this issue Jan 30, 2019 · 4 comments
Labels

Comments

@laoshaw
Copy link

laoshaw commented Jan 30, 2019

markdown is getting even more common these days it would be nice that geany can make itself a first class markdown editor. The "urgent" features I would request:

  1. When adding a list, a return key should automatically make next line ready for next line in the list, now I have to type first two letters with each list line, e,g. "* my line", the "* " part should be automatically added by geany.

  2. select a few lines and change them to a list easily together, like what ctrl+I/U does for indent

  3. when type headlines they should be bold as what bold already does, now #, ## headlines are shown as regular text

  4. select some text then use keybinding to make it bold or italic, e.g. Ctrl+B(bold), ctrl+I(italic) , or just type ** , * it can surround the selected text, currently I can only do this with back tick sign automatically, e.g. the `my code line`

with above features, geany will become one of the best markdown editor, that alone is enough for its wider usage

@elextr
Copy link
Member

elextr commented Jan 30, 2019

Those are the sorts of things you can add to a plugin for markdown.

@laoshaw
Copy link
Author

laoshaw commented Jan 30, 2019

I actually feel this could be part of the core function of geany, is there a markdoen plugin for this? there is a so-called markdown plugin but it is just for previewing as far as I can tell, not for editing, the markdown editing is part of geany instead of a plugin, or I must be missing something basic(not a geany developer)

@elextr
Copy link
Member

elextr commented Jan 30, 2019

Functionality that is specific to a filetype should not be part of core, not everyone wants every language special functions cluttering up their editor. Plugins is the way all editors do it these days, Atom, Emacs, Eclipse etc

@elextr elextr added the plugin label Feb 1, 2019
@tivrfoa
Copy link

tivrfoa commented Sep 18, 2020

One thing that would be really cool is if it was possible to apply code syntax highlight on the fly! =)

for example:

```c
int main() {}
```

would show:

```c
int main() {}

Today Geany already shows italic bold. Highlight code would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants