Skip to content

Mark Text Preference #998

Closed
Closed

Description

@Jocs

Mark Text Preferences

General

AutoSave: Boolean true of false

autoSaveDelay (#971)

Remember last typewriter and focus mode: Boolean #519

titleBarStyle: String csd(macOS only), custom or native

openFilesInNewWindow: Boolean true of false

aidou: Boolean true or false

keybindings

File Sort in folder: by created time, modifed time or title. #438

Start up options:

Language: (v0.17.0) #138 #308

Import and Export user setting file (json file).

subscription user need to input E-mail (v0.17.0)

Editor

Font Size: default is 16px and the range is 12px ~ 18px #264

editorFontFamily: default is Open Sans

lineHeight: default is 1.6 range is 1.2 ~ 2

autoPairBracket: Boolean

autoPairMarkdownSyntax: Boolean

autoPairQuote: Boolean

endOfLine: default lr crlf

textDirection: ltr or rtl

codeFontFamily: DejaVu Sans Mono

codeFontSize: default is 14px range is 12px ~ 18px

hideQuickInsertHint: Boolean

Image: paste and drag drop image action, select one: #627 #549 #97

  1. upload to cloud if user added his own image cloud.

  2. Special folder, we'll create a default folder and user can change it. support for setting up a base folder for locating markdown images #949

  3. relative path if file already saved to somewhere or absolute path.

If user insert image by input ![]() or shortcut, user can select one of above three action. #922

Move all or single images to the default folder or upload to cloud.

Markdown

preferLooseListItem: Boolean

bulletListMarker: default is -, you can also select * and +.

orderListDelimiter: default is . you can also select )

preferHeadingStyle: atx or setext

tabSize: 4space or another ?

listIndentation: dfm, tab or number 1~4.

Themes

Select the offical 6 themes.

Open the themes folder so you can modify the offical themes.(v0.16.0) notice user backup first. #902

Import Custom theme (a folder includes fonts file?)(v0.16.0) #959 #174

Activity

  1. self-assigned this
    on May 1, 2019
  2. added
    🦄 feature request
    🦋 optimization
    on May 1, 2019
  3. Jocs commented on May 1, 2019

    @Jocs
    MemberAuthor

    @fxha I advanced Mark Text Preference to v0.15.0 because I found that many of the features of v0.15.0 are currently related to Mark Text Preference.

  4. fxha commented on May 1, 2019

    @fxha
    Contributor

    I think we should prefix the entries with the category like file, editor etc.

    Remember last typewriter and focus mode: Boolean #519

    Please note that this can be overwritten by a session, so we can use the settings as default/fallback values.

    Import and Export user setting file

    What do you mean? electron-store saves data as JSON file.

    subscription user need to input E-mail

    What do you mean?

    Please add autoSaveDelay (#971) to the list, so that changes are saved after a short delay to improve performance. Do you plan to add "real" GUI settings in v0.15.0?

    I think I can commit a WIP PR from main refactoring later or tomorrow. I think we have to rebase a lot if we working on both issues simultaneously.

  5. Jocs commented on May 2, 2019

    @Jocs
    MemberAuthor

    I think we should prefix the entries with the category like file, editor etc.

    • Now I divide the Mark Text Preference into four categories, universal, editor, markdown, theme, and the file you said should be markdown?

    Import and Export user setting file

    • User can import a user setting file when he first download Mark Text? So Mark Text can use the imported setting, is it necessary?

    subscription user need to input E-mail

    • Users subscribe to Mark Text, so they will receive a email when we release a new version or some big events.

    Do you plan to add "real" GUI settings in v0.15.0?

    • Yes, after the existing PR merge, I will start this work.

    I think I can commit a WIP PR from main refactoring later or tomorrow. I think we have to rebase a lot if we working on both issues simultaneously.

    • Great,I will first move the settings in the existing preference file to the new Mark Text Preference. Some new features will not be added for the time being. For example, Language, custom theme, etc., can not be used, the interface will be gray display, prompts the user that the feature is under develop.
  6. fxha commented on Aug 10, 2019

    @fxha
    Contributor

    @Jocs Please convert the list above in a task list to track missing features.

  7. renehummen commented on Dec 28, 2019

    @renehummen

    @Jocs I would like to configure Mark Text such that the Sidebar and Tabbar always show up when opening a new window, i.e. as default behavior. Can this be added in the general section of the preferences as toggleable items?

  8. Jocs commented on Feb 16, 2020

    @Jocs
    MemberAuthor

    @renehummen In the future, a new feature should be supported. Mark Text will remember the last closed state, so if the sideBar was displayed last time, then the sideBar is displayed again when newly open Mark Text.

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

Metadata

Metadata

Assignees

Labels

🦄 feature request🦋 optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions