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

Context based formatting #363

Closed
maenujem opened this issue Apr 10, 2018 · 7 comments
Closed

Context based formatting #363

maenujem opened this issue Apr 10, 2018 · 7 comments
Milestone

Comments

@maenujem
Copy link

maenujem commented Apr 10, 2018

I'm using nextcloud-notes on android together with nextcloud notes on the server and qownnotes on the desktop to manage the notes using markdown. Sync working fine for me. A feature I'm missing is some better support for editing markdown in the android app eg. some buttons for easily inserting markdown characters, similar as it is in Markor (which I couldn't get to sync with nextcloud android client so far).

@stefan-niedermann
Copy link
Member

I think this is out of scope for this app. IMHO this fits better to e. g. NextNotes (i don't know if they have an companion android client) because the focus of this app is writing and not formatting.

cc @jancborchardt

@maenujem
Copy link
Author

I'm happy with the Nextcloud serverside Notes service.

I'd only like to have easier support on Android side to edit/write markdown: have the Markdown commands/characters always directly accessible on the onscreen-keyboard (as in Markor) without need to switch keyboard between signs and characters all the time.
Everything else works better than in the other mentioned app.

@jancborchardt
Copy link
Member

A permanent toolbar isn’t something that we would want, as it blocks a lot of the screen.

Instead, we could do it like iOS or Medium do it: When you select text, show small bar above with formatting options:

So tapping "B" would then replace the selected words with **selected words**, and so on.

@stefan-niedermann
Copy link
Member

@stefan-niedermann stefan-niedermann changed the title better support for editing markdown (markdown syntax buttons) Context based formatting Aug 25, 2018
@stefan-niedermann
Copy link
Member

stefan-niedermann commented Feb 6, 2019

Next version will contain basic support:

  • select some text
  • pop-up includes "italic" and "bold"
  • pressing adds * and ** automatically

grafik

Possible enhancements are:

  • Remove signs, when already bold/italic
  • Enable links

stefan-niedermann added a commit that referenced this issue Feb 6, 2019
@stefan-niedermann stefan-niedermann added this to the 0.23.0 milestone Feb 6, 2019
stefan-niedermann added a commit that referenced this issue Feb 7, 2019
- removing markdown disabled, because it does not work properly and might cause data loss
stefan-niedermann added a commit that referenced this issue Feb 7, 2019
- render 'bold' & 'italic' in pop-over-menu in bold & italic
stefan-niedermann added a commit that referenced this issue Feb 7, 2019
- place cursor at the end of the selection after markdown has been added
@stefan-niedermann
Copy link
Member

Okay, this is already in master. I will soon release a new version containing those improvements. We should keep tracking further features regarding Context based formatting in new issues - otherwise we will have a never ending issue here :)

stefan-niedermann added a commit that referenced this issue Feb 8, 2019
- Use selection as link target instead of label when it starts with `http`
@stefan-niedermann stefan-niedermann modified the milestones: 0.23.0, 0.24.0 Feb 8, 2019
@jancborchardt
Copy link
Member

@stefan-niedermann so cool! Great work there. :)

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

No branches or pull requests

3 participants