Coder Social home page Coder Social logo

gsantner / markor Goto Github PK

View Code? Open in Web Editor NEW
3.4K 65.0 336.0 33.54 MB

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..

Home Page: https://github.com/gsantner/markor/discussions/2269

License: Other

Java 99.68% Makefile 0.32%
markdown markdown-editor android-app editor todo todotxt task-list todolist plaintext clipboard

markor's Introduction

Hi there 👋

trophy

markor's People

Contributors

adelobosko avatar cl0ne avatar claudinux avatar dependabot-preview[bot] avatar duckbrain avatar fgtham avatar fredericjacob avatar gsantner avatar guanglinn avatar harshad1 avatar iptux avatar jakeoneijk avatar jamiet-dev avatar jdckr avatar jffrymrtn avatar krishamal avatar krkk avatar kunalsingh3110 avatar larjona avatar melkor0 avatar milouse avatar mobile46 avatar opensource21 avatar plafue avatar sjmduncan avatar spitlo avatar tiagodanin avatar tifish avatar timreset avatar tomdaly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

markor's Issues

Find better markdown parser/convertor

Anddown lacks a lot of functionalities. It would be better to replace it with something more powerful. But it should still be lightweight and not a fully bloated library like RxMarkdown, which would pull in RxJava and son on.

Feature: QuickNote

Add QuickNote, kind of a default, fast accessible note. Open for discussion where to place UI to access it..toolbar,tabbar,fab,..

This should save then to QuickNote.md in the savepath root dir.

'Hide statusbar' crashing an app

General information

  • Device: LG L5 (LG-E610)
  • Android Version: Android 4.1.2
  • App version: v0.1.2

Steps to reproduce

  1. Enable 'Hide statusbar' in Editor Settings
  2. Open or Create new file

Expected result

What do you see instead?
'Hide statusbar' in App Settings doesn't crash

Create custom reuseable Preference-class for Rotation-Settings

The target is to have an option for the prefered rotation, seperate for Main and for Editor.

  • For example see LanguagePreference, just use different values
  • create a rotation apply method in ContextUtils/activityutils
  • for strings use a common prefix, e.g. rotation__
  • Target is that it should get easy reuseable in other apps too, so to be placed under Apache2, if possible in opoc

Crash at at net.gsantner.markor.model.MarkorSingleton.getFileFromUri (MarkorSingleton.java:158)

Paste from google dev console


28. Sep. 14:02 in der App-Version 4
Samsung Galaxy S5 mini (kminilte), 1536MB RAM, Android 7.1
java.lang.RuntimeException: 
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2684)
 
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2751)
 
  at android.app.ActivityThread.-wrap12 (ActivityThread.java)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1496)
 
  at android.os.Handler.dispatchMessage (Handler.java:102)
 
  at android.os.Looper.loop (Looper.java:154)
 
  at android.app.ActivityThread.main (ActivityThread.java:6186)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:889)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:779)
Caused by: java.lang.IllegalArgumentException: 
 
  at java.io.File.<init> (File.java:396)
 
  at net.gsantner.markor.model.MarkorSingleton.getFileFromUri (MarkorSingleton.java:158)
 
  at net.gsantner.markor.activity.NoteActivity.readFileUriFromIntent (NoteActivity.java:157)
 
  at net.gsantner.markor.activity.NoteActivity.openFromEditAction (NoteActivity.java:146)
 
  at net.gsantner.markor.activity.NoteActivity.onCreate (NoteActivity.java:107)
 
  at android.app.Activity.performCreate (Activity.java:6684)
 
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2637)

Fix share document as image

Currently exporting a markdown document as image just exports the visible part. Resolving this should export the whole document as image. Also the image currently contains a lot of whitespace on bottom (see image), which should be gone too.

Markor Project discussion, chat & questions

Do you have a question or a problem?

--> Check this: #2269


To write comments a free GitHub account is required, the place where many Open Source software projects (like Markor) are developed.
Please don't send e-mails to developers, do ask & search here instead so everybody can benefit from your matter and it's answer/solution, as well other people might have a better answer.


  • General project information and changes
    What is the project about and what is it's history?
  • Updates
    F-Droid is the recommended way to install and updated Markor. Unreleased changes can be tried in the development version called Mordor. It can be installed beside Markor and downloaded from here (click on any change and find the android-apk button there)
  • Plain issue
    Only use this option in case you experience issues with the other options. Can happen at non-official GitHub applications not supporting the GitHub issue form.
  • Translate the project
    Some texts are not (properly) translated to your language? Help with translations here.

Please subscribe/unsubscribe to this topic if you want to keep updated with whats going on in the project. It is kind of a "mailing list" for the project.

Notes:

  • Get list of last contributors: curl "https://github.com/gsantner/markor/pulls?page=1&q=is%3Apr" 2>&1 | grep "by " | sed "s/^.*by //" | grep '"' | cut -d '"' -f1 | sort | uniq

Editor forgets contents when switching back from preview with a newly created note.

General information

  • Device: Moto G 4G
  • Android Version: Android 7.1 (LineageOS 14.1)
  • App version: v0.1.1

Steps to reproduce

  1. Create a new file, add some text, give it a name
  2. Switch to preview
  3. Switch back to edit

Expected result

The editor shows the information entered in step 1.

Instead the original file is saved but the editor shows a blank file as if you were creating a new one.

For existing notes this works as expected.

Complete rewrite of NoteActivity

  • Abstract Note-Data (Title and content) from UI
    • Do not use edittext/textview.getText() when saving. Use data objects
    • Use data coming from listener events instead, or other concept
  • Ask if something already exists and is to be overridden
    • Only if it would affect an other note (title xx changed to yy, but yy exists)
  • Move file if title changed, when saving
    • For this there must be content
    • In force cases (Lifecycle events (e.g. onPause)) try to force save with random name
    • Non-force cases: backpress, preview -> ask here
  • Do not save if neither title nor content changed
  • Markdown Bar
    • Character based or action based (make it bold = bold icon)?
  • Allow editing of external files (via Action.VIEW/SEND intent)
    • Do not allow filename changing in this case
    • Maybe allow importing that file into Markor notebook

Naming:

  • Custom title: Use custom title if entered
  • Initial title: Keep title if there was already one and nothing was changed there
  • When only content is entered: Name = someCharsOfContent + random upcounting number (1,2,3..)
  • Use string.trim()

Filename: "Note title.md" if inside markdown notebook, else initial/original filename

Many parts may be reused, but in general the target is to improve code quality (and to fix bugs that did come from the bad quality)

Widget always opens file in editor mode

General information

  • Device: Nokia 6
  • Android Version: Android 7.1.2
  • App version: v0.1.5

Steps to reproduce

  1. Enable 'Preview first when opening notes'
  2. Create widget
  3. Open file

Expected result

Opens in preview mode

Drastically slower editing (#90 / #169)

General information

  • Device: Moto G 5s Plus
  • Android Version: v7.1.1
  • App version: v0.1.5

Steps to reproduce

  1. Edit any file (perhaps ones larger than a certain size? This file is 3KB, and I was able to edit it in Markor before - I created it in it.)

Expected result

What is the expected output?
Normal editing.

What do you see instead?
Extremely slow input, deletion and navigation (via ASK's left/right arrow keys), keyboards crash and restart if you type too fast.

I've tried this with AnySoftKeyboard and Hacker's Keyboard, to see if it might be a keyboard issue. Both are working fine in other applications.

Inconsistent behaviour & syntax highlighting when creating lists

General information

  • Device: Moto G 4G
  • Android Version: Android 7.1 (LineageOS 14.1)
  • App version: v0.1.1

Steps to reproduce

  1. Create a note
  2. Add a list item (* + - or 1. )
  3. Press enter at the end of the line

Expected result

  1. Syntax-highlight the list marker
  2. When creating a newline at the end of a list item, the next line should automatically start with the appropriate list marker, preserving indentation.

Syntax highlihghting doesn't work for the + or - markers. For the - marker every second item is highlighted with the header style. Both of those things work as expected in the markdown preview.

Auto-inserting list markers only works for the * marker, only when editing existing notes, and only after you press enter at the end of a list item that already existed in that note when you loaded it.

Crash at net.gsantner.markor.activity.PreviewActivity.shareStream (PreviewActivity.java:177)

Paste from google developer console

vor 33 Minuten in der App-Version 4
Google Pixel (sailfish), 4096MB RAM, Android 8.0
android.os.FileUriExposedException: 
 
  at android.os.StrictMode.onFileUriExposed (StrictMode.java:1958)
 
  at android.net.Uri.checkFileUriExposed (Uri.java:2348)
 
  at android.content.ClipData.prepareToLeaveProcess (ClipData.java:941)
 
  at android.content.Intent.prepareToLeaveProcess (Intent.java:9735)
 
  at android.content.Intent.prepareToLeaveProcess (Intent.java:9741)
 
  at android.content.Intent.prepareToLeaveProcess (Intent.java:9720)
 
  at android.app.Instrumentation.execStartActivity (Instrumentation.java:1609)
 
  at android.app.Activity.startActivityForResult (Activity.java:4472)
 
  at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult (BaseFragmentActivityApi16.java:54)
 
  at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:65)
 
  at android.app.Activity.startActivityForResult (Activity.java:4430)
 
  at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:711)
 
  at android.app.Activity.startActivity (Activity.java:4791)
 
  at android.app.Activity.startActivity (Activity.java:4759)
 
  at net.gsantner.markor.activity.PreviewActivity.shareStream (PreviewActivity.java:177)
 
  at net.gsantner.markor.activity.PreviewActivity.onOptionsItemSelected (PreviewActivity.java:146)
 
  at android.app.Activity.onMenuItemSelected (Activity.java:3435)
 
  at android.support.v4.app.FragmentActivity.onMenuItemSelected (FragmentActivity.java:361)
 
  at android.support.v7.app.AppCompatActivity.onMenuItemSelected (AppCompatActivity.java:195)
 
  at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected (WindowCallbackWrapper.java:108)
 
  at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected (WindowCallbackWrapper.java:108)
 
  at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick (ToolbarActionBar.java:65)
 
  at android.support.v7.widget.Toolbar$1.onMenuItemClick (Toolbar.java:202)
 
  at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected (ActionMenuView.java:780)
 
  at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected (MenuBuilder.java:822)
 
  at android.support.v7.view.menu.SubMenuBuilder.dispatchMenuItemSelected (SubMenuBuilder.java:89)
 
  at android.support.v7.view.menu.MenuItemImpl.invoke (MenuItemImpl.java:171)
 
  at android.support.v7.view.menu.MenuBuilder.performItemAction (MenuBuilder.java:973)
 
  at android.support.v7.view.menu.MenuPopup.onItemClick (MenuPopup.java:127)
 
  at android.widget.AdapterView.performItemClick (AdapterView.java:318)
 
  at android.widget.AbsListView.performItemClick (AbsListView.java:1165)
 
  at android.widget.AbsListView$PerformClick.run (AbsListView.java:3134)
 
  at android.widget.AbsListView$3.run (AbsListView.java:4049)
 
  at android.os.Handler.handleCallback (Handler.java:789)
 
  at android.os.Handler.dispatchMessage (Handler.java:98)
 
  at android.os.Looper.loop (Looper.java:164)
 
  at android.app.ActivityThread.main (ActivityThread.java:6541)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

Closing unchanged documents changes modified date

Hi Gregor,
So great to finally have a maintained Writeily fork - thanks for doing this.

One annoying issue I observed in Writeily and Markor is the fact that the editor always changes the modified date even if the file was left unchanged.

I've been using Syncthing for my notes and this often produced conflicts when syncing semi-regularily.

[Marshmallow] Directory Empty

Phone : ZTE Zmax Pro

Android Version : 6.0.1

Version : 0.1.0 from F-Droid

Markor fails to display directories and files, saying the directory is empty even if a file is imported.

Feature request: sharing text as a file rather than as content

General information

  • Device: Xperia Z1 compact
  • Android Version: 5.1.1
  • App version: v0.1.2

Sharing text to seadroid is broken because seadroid doesn't seem to know how to handle text content, so I'm not sure if this is a markor bug that the intent for sharing includes seafile, or if seadroid is registering for the wrong intent.

Regardless of whose responsibility it is for a graceful failure, sharing markdown from markor as a file with the known markor filename (e.g. name.md) is what I actually want to do.

Feature example

Given seadroid is installed
When I share a note from the rendered view
Then I want an option to send a named file rather than the content of the file for the markdown and html formats
When I select a file format
And I choose seafile as the target
Then I should see the menu to choose a library in which to save the file

Allow to share text and links into Markor

Add support of handling text and link sharing into markor. So if someone has some text selected and presses Share, than Markor should be available with two Options:

  • Create new note - Open editor for new file, set content
  • Append to existing note - Open filesystemdialog to select an existing file. Do add a newline and the shared text.

Additionally it should be possible to share URLs into Markor (not to open with, but to be able to share into). This kinda allows to make it useable as Read-It-Later ;).

Shortcut bar missing some characters and buttons are too small

General information

  • Device: Moto G 4G/Zenfone Max
  • Android Version: Both Android 7.1 (LineageOS 14.1)
  • App version: Both v0.1.2

Steps to reproduce

  1. Make sure 'Show Markdown Shortcuts Bar' is enabled in settings.
  2. Open editor

Expected result

Access to characters which are buried on the secondary symbols keyboard. Most obvious missing one is ` but ~ and + are also missing.

The buttons also don't expand vertically which makes it frustrating to use them even on a larger device.

Not registered as Filehandler?

General information

  • Device: Moto G Falcon
  • Android Version: Android 7.1.2
  • App version: v0.1.2

  1. Click on .md or .txt file in e.g. any File Explorer
  2. Select "Open with"
  3. List with Apps is shown, but no Markor

Expected Results

Markor can be selected to open markdown files that were "opened with" and/or "share file via".

Crash at net.gsantner.markor.model.MarkorSingleton.getFileFromUri

Crash from google play, Markor v0.1.5:


Heute, 13:04 in der App-Version 6
LGE L90 (w7ds), 1024MB RAM, Android 5.0
Bericht 1 von 4
java.lang.RuntimeException: 
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2331)
 
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2391)
 
  at android.app.ActivityThread.access$800 (ActivityThread.java:151)
 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1309)
 
  at android.os.Handler.dispatchMessage (Handler.java:102)
 
  at android.os.Looper.loop (Looper.java:135)
 
  at android.app.ActivityThread.main (ActivityThread.java:5349)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at java.lang.reflect.Method.invoke (Method.java:372)
 
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:908)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:703)
Caused by: java.lang.IllegalArgumentException: 
 
  at java.io.File.checkURI (File.java:220)
 
  at java.io.File.<init> (File.java:177)
 
  at net.gsantner.markor.model.MarkorSingleton.getFileFromUri (MarkorSingleton.java:158)
 
  at net.gsantner.markor.activity.NoteActivity.readFileUriFromIntent (NoteActivity.java:168)
 
  at net.gsantner.markor.activity.NoteActivity.openFromEditAction (NoteActivity.java:152)
 
  at net.gsantner.markor.activity.NoteActivity.onCreate (NoteActivity.java:113)
 
  at android.app.Activity.performCreate (Activity.java:6020)
 
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1105)
 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2284)

Android >= M permissions

The app currently doesn't support the M permission system, therefor saving/reading from external storage does not work. Theres too no crash or dialog to confirm right now. The project was at API 22 at fork time, so it wasn't possible at that time. Currently one has to accept the permission manually in the system app settings

Add more functionalities to FilesystemDialog, use it in MainActivity instead of current solution

If you need more information ask. This issue is an idea, and about people to start contributing to the project. It has not much information because I pasted many ideas/issues and just let them out at the same time :). If you are interested in working on this, and have questions I can give you more details on this.

Register on https://hacktoberfest.digitalocean.com/, send a PR to fix this and get your t-shirt for free (4 accepted PRs to same or different GitHub repositories needed) :). You have to mention the issue number in the commit/PR (e.g. fix #20 / about #8) Find more hacktober issues from my projects: https://github.com/search?&q=label%3Ahacktoberfest+user%3Agsantner

Duplicated setting in v0.1.2

General information

  • Device: Fairphone 2
  • Android Version: Fairphone Open 17.09.3 (Android 6.0.1)
  • App version: v0.1.2

Steps to reproduce

  1. Open Markor
  2. Go to burger menu, settings
  3. Look at the different prefs

Expected result

Settings should be different

What do you see instead?
« Hide status bar » appears twice.

That's because the same labels are used for pref_key__is_overview_statusbar_hidden and pref_key__is_editor_statusbar_hidden (see lines 32 and 87 of preferences.xml file)

Crash at net.gsantner.markor.activity.NoteActivity.saveNote (NoteActivity.java:312)


Gestern, 05:50 in der App-Version 4
Asus Zenfone MAX (ASUS_Z010), 2048MB RAM, Android 6.0
Bericht 1 von 8
java.lang.NullPointerException: 
 
  at net.gsantner.markor.activity.NoteActivity.saveNote (NoteActivity.java:312)
 
  at net.gsantner.markor.activity.NoteActivity.previewNote (NoteActivity.java:271)
 
  at net.gsantner.markor.activity.NoteActivity.onOptionsItemSelected (NoteActivity.java:178)
 
  at android.app.Activity.onMenuItemSelected (Activity.java:2986)
 
  at android.support.v4.app.FragmentActivity.onMenuItemSelected (FragmentActivity.java:361)
 
  at android.support.v7.app.AppCompatActivity.onMenuItemSelected (AppCompatActivity.java:195)
 
  at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected (WindowCallbackWrapper.java:108)
 
  at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected (WindowCallbackWrapper.java:108)
 
  at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick (ToolbarActionBar.java:65)
 
  at android.support.v7.widget.Toolbar$1.onMenuItemClick (Toolbar.java:202)
 
  at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected (ActionMenuView.java:780)
 
  at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected (MenuBuilder.java:822)
 
  at android.support.v7.view.menu.MenuItemImpl.invoke (MenuItemImpl.java:171)
 
  at android.support.v7.view.menu.MenuBuilder.performItemAction (MenuBuilder.java:973)
 
  at android.support.v7.view.menu.MenuBuilder.performItemAction (MenuBuilder.java:963)
 
  at android.support.v7.widget.ActionMenuView.invokeItem (ActionMenuView.java:624)
 
  at android.support.v7.view.menu.ActionMenuItemView.onClick (ActionMenuItemView.java:150)
 
  at android.view.View.performClick (View.java:5210)
 
  at android.view.View$PerformClick.run (View.java:21169)
 
  at android.os.Handler.handleCallback (Handler.java:739)
 
  at android.os.Handler.dispatchMessage (Handler.java:95)
 
  at android.os.Looper.loop (Looper.java:148)
 
  at android.app.ActivityThread.main (ActivityThread.java:5451)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)

Duplicated Setting in 0.1.0

In 0.1.0 (from F-Droid), the setting: "Preview When First Opening Notes" is present twice in a row in options.

Markor crashes when pref_key__is_editor_statusbar_hidden pref is checked

General information

  • Device: Fairphone 2
  • Android Version: Fairphone Open 17.09.3 (Android 6.0.1)
  • App version: v0.1.2

Steps to reproduce

  1. Open Markor and go to preferences
  2. Check the preference box, which correspond to the pref_key__is_editor_statusbar_hidden (line 85 of preference file)
  3. Go back on any folder
  4. Try to open one of your existing markdown file

Expected result

I have no idea

What do you see instead?

Markor crashes and I'm redirected to the phone desktop. Unchecking the pref box allow me to open the file again.

Preview broken

General information

  • Device: Moto G 5S Plus
  • Android Version: v7.1.1
  • App version: v0.1.2

Steps to reproduce

  1. Try to view the preview in any way, be it before (with "Preview first when opening notes") or after editing (with the eye icon).

Expected result

What is the expected output?
Preview of note.

What do you see instead?
Blank white screen (regardless of theme), with a back button, file name, share button and edit button on top.

Add support for share appending to existing note

Add support of handling text and link sharing into markor to EXISTING NOTES (append). So if someone has some text selected and presses Share, than Markor should be available with two Options:

  • Create new note - Open editor for new file, set content
  • Append to existing note - Open filesystemdialog to select an existing file. Do add a newline and the shared text.

enhancement: make links in preview work

General information

  • App version: v0.1.2

Example1

This md source link [test](test) is rendered in preview as html link.

Current result

a click on this linke tries to open "file:/path/to/test" with mime type null (no mime)

Expected result

a click on this link should open "file:/path/to/test.md" with mime type "text/x-markdown" if file:/path/to/test.md exist. Else open "file:/path/to/test.html" with mime type "text/html" if file:/path/to/test.html exist.

Note:

If you install Intent-Intercept (from fdroid store) you can monitor urls with mime type.

Reminder feature

Allow to set a reminder for a specific document. This would create e.g. a notification at 6PM if setted up. A click on the notification will open the document.

  • step 1: option for onetime
  • step 2: options for intervals (like every day at 5PM, every monday) .

Set default font in preview accordingly to editor-font

Currently the preview always just uses the default thin/light font. It would be great it that can be changed. May be later expanded to use a seperate default font for preview, but for now it should just use the same font as the editor uses.

White screen when i put the widget

General information

  • Device: fairphone 2
  • Android Version: 6.0.1
  • App version: 0.1.2

Steps to reproduce

1.put the widget on a new wall

Expected result

What is the expected output? it will open the app and we may choose a note.

What do you see instead? nothing just a white screen

Encrypted documents feature

Add support for encryption to Markor. You can maybe use an custom extension for that, so it can be better differntiated, e.g. .enc or .aes

The project doesnt need some fully blown up all-in-one crypto lib. Maybe https://github.com/tozny/java-aes-crypto/blob/master/aes-crypto/src/main/java/com/tozny/crypto/android/AesCbcWithIntegrity.java has everything needed.

Password must not be stored anywhere on storage. It can be cached (KeyValuePairs(File, String)), but passwords in cache should be removed e.g. after 5 minutes (will be configureable in options then).

Sort notes

General information

  • App version: 0.1.2

Expected result

Feedback from gplay

What is the expected output?
Nice working with syncthing! Would be nice to have an option to sort notes by date.

Allow export as PDF

Allow rendered markdown to be exported as pdf


If you need more information ask. This issue is an idea, and about people to start contributing to the project. It has not much information because I pasted many ideas/issues and just let them out at the same time :). If you are interested in working on this, and have questions I can give you more details on this.

Register on https://hacktoberfest.digitalocean.com/, send a PR to fix this and get your t-shirt for free (4 accepted PRs to same or different GitHub repositories needed) :). You have to mention the issue number in the commit/PR (e.g. fix #20 / about #8) Find more hacktober issues from my projects: https://github.com/search?&q=label%3Ahacktoberfest+user%3Agsantner

Feature: todo/tasks in todo.txt format

This is about adding support for todo in Markor. Such files could be named e.g. todo.txt or something.todo.md, if the last part is todo then don't open markdown editor but an other editor view, for todo.txt format.

For this I don't know what is already existing in terms of both, parser and android UI view components. so before start hacking do some research what is already existing and if it could be used. Important here is, that it must be compatible with the MIT license. Preferable we use some maintained drop-in library and give that an file/string.

Back navigation when viewing a file within a folder returns to the overall screen rather than the folder

General information

  • Device: Oneplus 3T
  • Android Version: 7.1.2
  • App version: v0.1.3

Steps to reproduce

  1. Ensure the option 'Remember last folder location on startup' is unchecked
  2. View file (either view or edit mode) within a folder
  3. Press back button

Additional setting change from default: 'Preview first when opening notes' is checked

Expected result

What is the expected output?
Return to the file listing within the folder the file was in

What do you see instead?
The contents of storage folder selected in options

Additional Info/Comments
It appears that the option to 'Remember last folder on startup' being unchecked additionally causes Markor to not remember the last folder when exiting the view/edit mode.

Tables not rendering

I know this has come up before but with the swap to commonmark-java I was hoping to see tables, but I am having no luck. I note there is the org.commonmark.ext.gfm.tables.TablesExtension in the code so I would have expected it to work.

General information

  • Device: Motorola force x
  • Android Version: Android 7.0
  • App version: 0.15

Steps to reproduce

Enter markdown:

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |

Expected result

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

What do you see instead?

| First Header  | Second Header || ------------- | ------------- || Content Cell  | Content Cell  || Content Cell  | Content Cell  |

Added pl (Polish) translation

I have translated your application into pl (Polish). Here is the xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="action_settings">Ustawienia</string>
    <string name="light">Jasny</string>
    <string name="dark">Ciemny</string>
    <string name="delete">Usuń</string>
    <string name="rename">Rename</string>
    <string name="confirm_delete">Potwierdzaj usuwanie</string>
    <string name="confirm_overwrite">File already exists, overwrite?</string>
    <string name="title">Tytuł</string>
    <string name="empty_directory">Ten katalog jest pusty</string>
    <string name="navigate_up_folder">Wróć do poprzedniego folderu</string>
    <string name="folder_name_hint">Wpisz nazwę folderu</string>
    <string name="create_folder">Utwórz folder</string>
    <string name="create_note">Stwórz notatkę</string>
    <string name="move">Przenieś</string>

    <string name="import_from_device">Wczytaj z urządzenia</string>
    <string name="select_folder_move">Wybierz folder</string>

    <string name="search_hint">Szukaj notatek</string>
    <string name="share_string">Udostępnij…</string>
    <string name="share">Udostępnij</string>
    <string name="search">Szukaj</string>
    <string name="preview">Podgląd</string>
    <string name="app_settings">Ustawienia aplikacji</string>
    <string name="editor_settings">Ustawienia Editor</string>
    <string name="folders">Teczki</string>
    <string name="files">Files</string>

    <!-- Preferences -->
    <string name="pref_title__remember_directory">Pamiętaj lokalizację ostatniego folderu podczas uruchamiania</string>
    <string name="pref_title__font_choice">Czcionka edytora notatek</string>
    <string name="pref_title__theme">Motyw</string>
    <string name="pref_title__preview_first">Preview first when opening notes</string>
    <string name="about">O Markor</string>
    <string name="share_text">Tekst</string>
    <string name="share_image">Obraz</string>
    <string name="pref_title__font_size">Rozmiar czcionki</string>
    <string name="pref_title__show_markdown_shortcuts">Pokaż pasek skrótów Markdown</string>
    <string name="pref_title__highlighting_activated">Markdown podświetlanie składni</string>
    <string name="pref_title__highlighting_delay">Opóźnienie w milisekundach dla podkreślenia odświeżanie</string>
    <string name="pref_title__highlighting_delay_summary">Wyższe wartości są łatwiejsze w akumulatorze</string>
    <string name="pref_title__smart_shortcuts">Smart brackets shortcuts</string>
    <string name="pref_title__smart_shortcuts_summary">If text is selected, {}, [] and () will surround the selection</string>

    <!-- Font Size -->

    <!-- Hard coded string fix -->
    <string name="last_modified">Ostatnio zmieniony: %s</string>
    <string name="number_of_files">Liczba plików: %d</string>
    <string name="select_this_folder">Select this folder</string>
    <string name="select">Wybierać</string>
    <string name="create">Utworzyć</string>
    <string name="select_elements">Wybierać pliki</string>
    <string name="one_item_selected">jeden wybrany</string>
    <string name="more_items_selected">%d wybrany</string>


    <!-- About screen -->
    <string name="contributors">Contributors</string>

    <string name="pref_title__save_directory">Select storage folder</string>
    <string name="licenses">Licencje</string>
    <string name="changelog">Zmiany</string>
    <string name="more_information">Więcej informacji</string>
    <string name="show_app_license">Pokaż licencję aplikacji</string>
    <string name="pref_title__language">Język</string>
    <string name="error_storage_permission">Potrzebuję pozwolenia na zapisywanie dokumentów</string>

</resources>

Translation made with Stringlate.

Feature: Launcher shortcuts

Add an context menu (Main) and menu (NoteActivity) option to create a launcher shortcut for the note on the desktop. Clicking on it should start Markor in editint mode for given note.

Added nl (Dutch) translation

I have translated your application into nl (Dutch). Here is the xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="action_settings">Instellingen</string>
    <string name="light">Licht</string>
    <string name="dark">Donker</string>
    <string name="delete">Verwijderen</string>
    <string name="rename">Hernoemen</string>
    <string name="confirm_delete">Bevestig verwijderen</string>
    <string name="confirm_overwrite">Bestand bestaat al, overschrijven?</string>
    <string name="title">Titel</string>
    <string name="empty_directory">Deze folder is leeg</string>
    <string name="navigate_up_folder">Terug naar vorige map</string>
    <string name="folder_name_hint">Typ een naam voor de map</string>
    <string name="create_folder">Maak folder</string>
    <string name="create_note">Maak notitie</string>
    <string name="move">Verplaatsen</string>

    <string name="import_from_device">Importeer van apparaat</string>
    <string name="select_folder">Selecteer mappen</string>

    <string name="search_hint">Zoek notities</string>
    <string name="share_string">Delen met...</string>
    <string name="share">Delen</string>
    <string name="search">Zoeken</string>
    <string name="preview">Voorbeeld</string>
    <string name="app_settings">App Instellingen</string>
    <string name="editor_settings">Bewerker instellingen</string>
    <string name="folders">Mappen</string>
    <string name="files">Bestanden</string>

    <!-- Preferences -->
    <string name="pref_title__remember_directory">Herinner laatste map bij opstarten</string>
    <string name="pref_title__font_choice">Notitie Bewerker Lettertype</string>
    <string name="pref_title__theme">Thema</string>
    <string name="pref_title__preview_first">Voorbeeld tijdens openen notities</string>
    <string name="about">Over Markor</string>
    <string name="plain_text">Platte tekst</string>
    <string name="file">Bestand</string>
    <string name="image">Afbeelding</string>
    <string name="pref_title__font_size">Lettergrootte</string>
    <string name="pref_title__show_markdown_shortcuts">Laat Markdown codebalk zien</string>
    <string name="pref_title__highlighting_activated">Markdown code markeren</string>
    <string name="pref_title__highlighting_delay">Vertraging in milliseconden voor markering ververst</string>
    <string name="pref_title__highlighting_delay_summary">Hogere waarden zijn beter voor de accu.</string>
    <string name="pref_title__smart_shortcuts">Slimme haakcodes</string>
    <string name="pref_title__smart_shortcuts_summary">Als tekst is geselecteerd, {}, [] and () omsluiten de selectie</string>
    <string name="pref_title__render_rtl">Opbouw voor rechts-naar-links talen</string>
    <string name="error_cannot_create_save_dir">Fout: Kan geen opslagfolder maken</string>

    <!-- Font Size -->

    <!-- Hard coded string fix -->
    <string name="last_modified">Laatst gewijzigd</string>
    <string name="number_of_files">Aantal bestanden: %d</string>
    <string name="select_this_folder">Selecteer deze map</string>
    <string name="select">Selecteer</string>
    <string name="create">Aanmaken</string>
    <string name="select_elements">Selecteer invoeren</string>
    <string name="one_item_selected">1 item geselecteerd</string>
    <string name="more_items_selected">%d items geselecteerd</string>

    <string name="pref_summary__is_statusbar_hidden">Verberg de statusbalk in deze weergave</string>
    <string name="pref_title__is_statusbar_hidden">Verberg statusbalk</string>

    <string name="format_dialog_name_hint">Naam</string>
    <string name="format_dialog_url_or_path_hint">URL / Pad</string>
    <string name="format_link_dialog_title">Voeg koppeling toe</string>
    <string name="format_image_dialog_title">Voeg afbeelding toe</string>

    <!-- About screen -->
    <string name="contributors">Bijdragers</string>

    <string name="pref_title__save_directory">Kies opslagmap</string>
    <string name="licenses">Licenties</string>
    <string name="changelog">Wijzigingen</string>
    <string name="more_information">Meer informatie</string>
    <string name="show_app_license">Bekijk licentie van de app</string>
    <string name="show_third_party_licenses">Bekijk licenties van derden</string>
    <string name="pref_desc__language">Wijzig de taal van de app. Herstart de app om de wijzigingen door te voeren</string>
    <string name="pref_title__language">Taal</string>
    <string name="error_storage_permission">Er is toestemming nodig voor het opslaan van de documenten</string>
    <string name="open_with">Open met</string>
    <string name="sort">Sorteren</string>
    <string name="sort_by_date">Sorteer op datum</string>
    <string name="sort_by_name">Sorteer op naam</string>
    <string name="sort_by_size">Sorteer op bestandsgrootte</string>
    <string name="sort_reverse">Keer volgorde om</string>

</resources>

Translation made with Stringlate.

Changing case of the file name deletes the file

Version 0.1.1 (F-Droid)

Changing the case of one or more letters of the filename from within Markor will delete the file.

For example

Notes -> notes
Notes -> NoTes
Notes -> nOTES
...

Will delete Notes.md while

Notes -> Mynotes
Notes -> note
Notes -> Motes
...

Are safe renames.

Markor translation & localization

Translate - with Stringlate Chat - Matrix Chat - FreeNode IRC

This issue will be used to notify translators of the app. Please subscribe to this issue if you want to start translating or already translated something and want to keep the strings updated for some language.

You can use e.g. Stringlate to contribute translations - directly on your phone. This app is now translated on Crowdin! Join the project here (free of course) and start translating!

List of translators that are on GitHub and contributed at least once translations to one of my projects (unified across gsantner projects):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.