mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
Merge pull request #23587 from lujun9972/add-MjAyMTEwMTkgV2h5IE1hcmsgVGV4dCBpcyBteSBmYXZvcml0ZSBtYXJrZG93biBlZGl0b3IubWQK
自动选题[tech]: 20211019 Why Mark Text is my favorite markdown editor
This commit is contained in:
commit
b3eb992134
@ -0,0 +1,97 @@
|
||||
[#]: subject: "Why Mark Text is my favorite markdown editor"
|
||||
[#]: via: "https://opensource.com/article/21/10/mark-text-markdown-editor"
|
||||
[#]: author: "Don Watkins https://opensource.com/users/don-watkins"
|
||||
[#]: collector: "lujun9972"
|
||||
[#]: translator: " "
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Why Mark Text is my favorite markdown editor
|
||||
======
|
||||
Mark Text has tools that make it easy to write markdown while at the
|
||||
same time providing a simple interface that just gets out of my way.
|
||||
![Typewriter keys in multicolor][1]
|
||||
|
||||
I got introduced to the markdown format a few years ago when I began to explore Jupyter Notebooks. Many of the other writers at Opensource.com knew markdown, but it was a skill that was unfamiliar to me.
|
||||
|
||||
Markdown is a standard way of writing text, in which you use minimal notation to _markup_ how you want the text styled. For instance, instead of clicking a button to make a word bold, you surround the word with two asterisks (**word**). This has two effects:
|
||||
|
||||
* Visually suggests emboldened text when viewed as plain text
|
||||
* Appears as bold, given a good text converter or renderer (such as Pandoc or a good markdown text editor)
|
||||
|
||||
|
||||
|
||||
One of the greatest advantages of markdown is that most of its notation is intuitive and derived from habits most of us already have. It just makes sense to emphasize words with asterisks, mark headlines with characters to set them apart, and so on.
|
||||
|
||||
Everyone spoke highly of it, but I wasn't sure why I would need to learn and use markdown. However, I'm a curious person, and I began to explore markdown and how it might figure into my writing.
|
||||
|
||||
### Learning markdown
|
||||
|
||||
I enjoyed using a markdown [cheat sheet][2] as I learned. I found markdown to be an excellent tool for writing anything, and I love that I don't even need a special markdown editor. Any text editor can write markdown because markdown uses standard text to denote style. So I started using simple editors like Vim or gedit (or any other editor) and consulted the cheat sheet to remember the simple formatting rules.
|
||||
|
||||
I've been journaling this year as a way of organizing my thoughts and learning more about markdown. I've recently tried the [Ghostwriter][3] text editor, an excellent editor with some extra markdown-specific features. Markdown has become so popular now that many editors incorporate or make it their focus to include syntax highlighting, hints, and other features that make it easy to work in markdown. They're not must-have features, but when you have them, they're nice to have.
|
||||
|
||||
### Trying Mark Text
|
||||
|
||||
While reading a blog, I discovered [Mark Text][4]. Mark Text has tools that make it easy to write markdown while at the same time providing a simple interface that just gets out of my way. Mark Text has six themes: Three light and three dark themes. Dark themes are easier for me to use. The [user documentation][5] is excellent, and there is markdown [syntax help][6] available too.
|
||||
|
||||
### Markdown in real time
|
||||
|
||||
Mark Text provides a real-time preview with a clean and simple interface. It supports the [Commonmark][7] spec, Github Flavored Markdown spec, and Pandoc Markdown. According to its website, Mark Text also supports markdown extensions like KaTex, front matter, and emoji. It outputs HTML and PDF files.
|
||||
|
||||
Mark Text has various editing modes like typewriter mode, source code mode, and focus mode. Adding images is a snap, as you can simply copy and paste them from your clipboard.
|
||||
|
||||
A pop-up at the upper left of the Mark Text window displays the number of characters and paragraphs entered so far. That's really helpful as a writer.
|
||||
|
||||
Saving files is easy from the menu at the upper left of the Mark Text window or use **Ctrl+S**. In fact, the menus of Mark Text look friendly and familiar to anyone who's used to a basic text editor or word processor.
|
||||
|
||||
![Mark Text file menu][8]
|
||||
|
||||
(Don Watkins, [CC BY-SA 4.0][9])
|
||||
|
||||
I love that Mark Text supports various formats with simple keystroke shortcuts, including table blocks, diagrams, in-line formats, math formula blocks, and other code blocks.
|
||||
|
||||
You can download Mark Text for your operating system from the following links:
|
||||
|
||||
* [Linux][10]
|
||||
* [macOS][11]
|
||||
* [Windows][12]
|
||||
|
||||
|
||||
|
||||
Mark Text is open source with an [MIT][13] license. You can always [download][14] the latest version.
|
||||
|
||||
Alternatively, you can install Mark Text on macOS with `brew install --cask mark-text` and on Windows with [Chocolatey][15] by entering `choco install marktext`.
|
||||
|
||||
Mark Text is always looking for sponsors and developers. The project has a [guide][16] for contributors. In addition, you can support the project on Patreon and Open Collective.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/21/10/mark-text-markdown-editor
|
||||
|
||||
作者:[Don Watkins][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/don-watkins
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/osdc-docdish-typewriterkeys-3.png?itok=NyBwMdK_ (Typewriter keys in multicolor)
|
||||
[2]: https://opensource.com/downloads/cheat-sheet-markdown
|
||||
[3]: https://wereturtle.github.io/ghostwriter/
|
||||
[4]: https://marktext.app/
|
||||
[5]: https://github.com/marktext/marktext/blob/master/docs/README.md
|
||||
[6]: https://github.com/marktext/marktext/blob/master/docs/MARKDOWN_SYNTAX.md
|
||||
[7]: https://commonmark.org/
|
||||
[8]: https://opensource.com/sites/default/files/uploads/mark-test-file-menu.png (Mark Text file menu)
|
||||
[9]: https://creativecommons.org/licenses/by-sa/4.0/
|
||||
[10]: https://github.com/marktext/marktext/releases/latest/download/marktext-x86_64.AppImage
|
||||
[11]: https://github.com/marktext/marktext/releases/latest/download/marktext.dmg
|
||||
[12]: https://github.com/marktext/marktext/releases/latest/download/marktext-setup.exe
|
||||
[13]: https://github.com/marktext/marktext/blob/develop/LICENSE
|
||||
[14]: https://github.com/marktext/marktext/releases
|
||||
[15]: https://chocolatey.org/
|
||||
[16]: https://github.com/marktext/marktext/blob/develop/CONTRIBUTING.md
|
Loading…
Reference in New Issue
Block a user