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

Markdown Table Editor #338

Closed
gsantner opened this issue Sep 18, 2018 · 4 comments
Closed

Markdown Table Editor #338

gsantner opened this issue Sep 18, 2018 · 4 comments

Comments

@gsantner
Copy link
Owner

gsantner commented Sep 18, 2018

General information

  • App version: v1.2.0
  • System: 7.1.1

Description

Currently I'm using an external tool on both desktop and mobile to edit markdown tables (to be honest it gets unpracticable when there are more than 1 word + 3 cols).

The target is to add a TextAction, which allows to edit a table. When there is an existing table under cursor it needs to be analyzed and filled into the table editor.

The table editor is supposed to be some kind of Dialog, fragment or View, but no Actvivity. It has to work without leaving current activity(=editor).

Features for the table editor itself have not to be big, its basically enough if you can add&remove columns&rows, and enter text (no highlighting needed!).

Steps:

  1. Make code to get NxM array out of an existing table. Try it on Commonmark and GFM tables.
  2. Make scrollable UI to show the table
  3. Add buttons to add/remove cols/rows
  4. Make cells editable
  5. Implement insertion of edited result, replace existing table if one was preselected

Notice: This feature is free to take and will not be developed by the team.

@dugite-code
Copy link

dugite-code commented Sep 19, 2018

As I am very interested in this but don't have the time/technical knowledge to contribute I've added a bounty over on bounty source

Bountysource

@aubreyz
Copy link

aubreyz commented Apr 28, 2019

Can I make a different suggestion here which will cover tables and a bunch of other things. And that would be to allow a simple form of snippet.

a) If you have a special folder in the documents folder called snippets
b) Pressing a button will bring up a menu of the items in that folder
c) Selecting an item insets the whole file at the current cursor (or perhaps after a line break from current cursor if the file has a line feed to start)

This will allow almost anything. If the user wants to create a 4x2 table stub as a snippet that's up to them.

@gsantner
Copy link
Owner Author

gsantner commented Apr 28, 2019

@aubreyz
this is unrelated to this feature, please open new one

@gsantner gsantner changed the title Markdown: Table editing popup MD: Table editing popup Sep 9, 2019
@gsantner gsantner changed the title MD: Table editing popup Markdown Table Editor Oct 3, 2019
@gsantner
Copy link
Owner Author

Hey everybody, there are good news! ( @dugite-code @aubreyz )

I spent my free time today on Markor table editing!

In next update (Markor>=v2.1.7) there will be textaction button to make it easy to create tables.
tables also will have borders by default with next update to make them better recognizable.

video_2019-10-27_14-16-37

@dugite-code I don't have a bountysource accoun. If you want to support the project please do so at https://gsantner.net/supportme and can remove the bountysource 😄 .

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