marktext / marktext Goto Github PK
View Code? Open in Web Editor NEW📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
Home Page: https://www.marktext.cc/
License: MIT License
📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
Home Page: https://www.marktext.cc/
License: MIT License
Hi, thanks for your work! Can we please have the option to disable automatically save after editing text?
Thanks!
Drag and drop don't work and destroys the editor.
Expected behavior:
When the drag and drop event is accepted, the file should be loaded as markdown.
Actual behavior:
Editor view is broken. You cannot edit text anymore and the tilebar disappears on windows. Furthermore the editor cannot be closed, until you send force kill.
Working editor (open...):
Drag and drop on Linux (Gnome):
Drag and drop on Windows:
When export as Styled HTML, the symbol which should be just existed in editor was exported to HTML file.
Expected behavior: Couldn't see the symbol in exported file.
Actual behavior: The symbol is displayed in the exported file.
Link to an example: Append my file below:
# Title javascript ``` function add (a, b) { return a + b; } ``` sh ``` sudo chmod +x yourfile.js ./yourfile.js ``` python ``` def func (a, b) { return a * b; } ```
When creating a .txt file with marktext, end of the line is not recognized if file is opened with Windows Notepad. All text is on a single line.
Nice project! Are you considering to provide a homebrew (cask) formula anytime soon?
The table menu icon disappears and you can move the menu 🙈.
Ctrl+A
Del
Ctrl+A
Enter
Ctrl+A
Del
StateRender.js?8779:formatted:140 Uncaught TypeError: Cannot read property 'align' of undefined
at renderBlock (StateRender.js?8779:formatted:140)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
at eval (StateRender.js?8779:formatted:170)
at Array.map (<anonymous>)
at renderBlock (StateRender.js?8779:formatted:169)
if (block.type === 'li' && block.label) { <--- error
const { label } = block
const { align } = activeBlocks[0]
if (align && block.label === align) {
blockSelector += '.active'
}
Object.assign(data.dataset, { label })
}
Ctrl+A
Backspace
Ctrl+A
Backspace
Uncaught TypeError: Cannot read property 'textContent' of undefined
at checkEditLanguage (language.js?430e:5)
at HTMLDivElement.handler (index.js?981b:190)
/**
* check edit language
*/
export const checkEditLanguage = (paragraph, selectionState) => {
const text = paragraph.textContent <--- error
const { start } = selectionState
const token = text.match(/(^`{3,})([^`]+)/)
if (token) {
const len = token[1].length
const lang = token[2].trim()
if (start < len) return false
if (!lang) return false
return lang
} else {
return false
}
}
// WEBPACK FOOTER //
// src/editor/codeMirror/language.js
I changed my theme setting to dark and after I restarted Mark Text the theme setting switched back to white. This is a bit annoying because I always have to change the theme whenever I open Mark Text.
Expected behavior:
Theme setting is persisted after restart.
Actual behavior:
Theme setting is not persisted after restart.
[I can not write 中文
in aganippe]
Should inline css be removed or not?
Mark Text does not support Windows "Open with.." feature.
Expected behavior: Open that md file
Actual behavior: blank page
Say, we have a code block and a table following right after the code block, right in the next line. In this case, we have a problem: inability to insert an empty line or anything else between the code block and the table.
Hi, I have studied your work and I think a new logo will make you more visible. I designed a logo for you, I hope you like it and you want to use it. If you contact me here or from [email protected] I can give you all the formats of the logo. If you want a change please specify.
When export the document as Styled HTML
, then open the exported HTML file in browser, the code part display wrong even couldn't scroll.
Styled HTML
, operate step: file
=> Export
=> Styled HTML
Expected behavior: Display in right way, at least could scroll in code area
Actual behavior: Part of code was hidden and could not scroll in code area
Link to an example: Append my file content below:
# Title javascript ```javascript function add (a, b) { return a + b; } ``` sh ```sh sudo chmod +x yourfile.js ./yourfile.js ``` python ```python def func (a, b) { return a * b; } ```
[Description of the bug or feature]
Hi.
This is a simple and straightforward thing. After installing and testing Mark Text, I've noticed that the "Text Document" option from the New menu, in the Windows Explorer context menu (right click) has gone. It only came back after uninstalling Mark Text and rebooting the system. I realize this tool is a good alternative to Notepad, but I don't really like having my options taken away from me.
MarkText should support tight lists. Currently all lists are converted to loose ones.
* Foo
* Bar
After:
* Foo
* Bar
As discussed here: #30 (comment)
Expected behavior: cursor shifts a tab width (or 2 or 4 spaces) ahead
Actual behavior: cursor disappears
Aidou dialog background is not transparent and I cannot click on this area to hide the dialog. Even if I set the background is none
or transparent
.
Switch to dark theme and open aidou dialog.
Expected behavior:
Transparent background and I can easily hide the dialog.
Actual behavior:
[The vertical table line isn't visible in the dark theme.]
Hi guys,
I love your app :) Thanks for this 👍
Is it possible to add a flatpak build? Im using Deepin OS and this distribution is using flatpak.
Is that an easy step, or a complex one?
The "Marktext" application menu is not shown on OSs other than OSX. Maybe we could move the preferences entry into file or edit menu, so that you can edit preferences on Linux and Windows?
On Kde Neon I've seen a bad integration with the window drawer, it ts not showing the window bar with close, minimize and maximize buttons.
Expected behavior: Window buttons showing, like in firefox:
Actual behavior: Window buttons do not show:
Hey @marktext,
Since this app is an Electron App, why don't you consider releasing for Windows and Linux too? I can help you if you need. 😸
Cheers!
1s\_place\_medio
, it will be treat as emphasize syntax.[it is a bug]
After installing all text (.txt) files changed to MarkText icon causing any of those files to be opened by this app due to it automatically changing the default.
Expected behavior:
Not to change default application settings without permission.
Actual behavior:
Default changed to MarkText for text files. Users may have other editors (as I do) for editing such as Notepad++, Editpad, Vim, etc. which they may prefer to remain default, especially when one is just trying out the software. A user should be asked which file formats they want associated with the app, if any. Shouldn't assume they want to change or, are giving up their current tool(s).
Link to an example:
None required.
[Description of the bug or feature]
Mark Text doesn't save the selected theme, perhaps there could be a user config file.
Expected behavior:
Mark Text should keep selected theme
Actual behavior:
Mark Text doesn't keep selected theme
希望能有免安裝版
另外是不是沒有類似工具列的東西? (好像沒看見
或者也許可以考慮像 Haroopad 一樣
有類似這種可以直接點擊的
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Link to an example: [If you're reporting a bug that's not reproducible, please try to reproduce it on JSFiddle, JS Bin, CodePen or a similar service and paste a link here]
Hey thanks for the app, it looks great. Is there any way you could think about changing the default installation directory from C:\Program Files\ to a less privileged location. I would love to install the app on my work laptop but don't have admin rights. Another option would be to make the installation path configurable.
Expected behavior: [What you expected to happen]
Download binary and try to install, program installs either to a user directory (e.g. C:\Users$USER\AppData\Roaming) or prompts for install path.
[Description of the bug or feature]
快捷键
快捷键使用
I downloaded and started the latest version for Windows just now, 0.7.17. I have not installed Marktext before.
Windows Defender complained that it was unsafe to install this. Have anyone more seen this?
(It doesn't feel good to click on "Run anyway"...)
Regards
Henrik
[Add sidebar feature: filebrowser, outlines and md-syntax-list]
Great job on this markdown editor.
The current shortcut for Typewriter mode on Linux (Ctrl + Alt + T
) unfortunately brings up the terminal. Consider changing the shortcut.
Ctrl + Alt + T
Expected behavior:
Mark Text enters Typewriter mode
Actual behavior: [What actually happened]
Linux boots up the terminal
As title
This can be a touchable/dragable helper icon on the left of the element (code block, table, etc) or a helper menu above the element
It would be nice to have MathJax integration (to allow to display mathematics in MarkDown),
in the same way pandoc
does.
Expected behavior: Allow editing the formula and render it once the focus leaves it (I'm not really sure about the terminology).
Link to a library: I found mathjax-electron which seems to allow to do what I suggest.
If you give me some guidance, I could do a pull request, but I don't really know where to begin.
[![](./picture/path/image.png)](http://www.other.com)
syntax can not work
Hope:
brew cask install marktext
;
wdf!!Thanks
I use mark-text with downloading Linux AppImage file. I am using Unbuntu 16.04, and I open a new file to write something. If I enable View
-> Source Code
setting, I can't export file as PDF.
[Description of the bug or feature]
Can't export file as PDF when enable source code
setting in view.
Expected behavior: [What you expected to happen]
When I click export
as PDF
, should open a window ask me store the file in where.
Actual behavior: [What actually happened]
Nothing happened after I clicked export
as PDF
.
I am using MarkText as AppImage on Ubuntu Linux. When I pass a filename as a command line parameter to MarkText.AppImage it just starts with a blank document. Therefore I cannot integrate it in desktop environment nicely, like opening markdown documents in MarkText with a double-click.
Expected behavior: MarkText starts with this markdown document open
Actual behavior: MarkText starts with a blank document
I was wondering if you can change the color/s of the icon, because it doesn't look good on a dark background (for example: I'm using Win10 dark theme, and I can't see the icon when I pinned it to the task bar).
Thank you 💯
TODOLIST: Add option to rename the file
Because electron's default dialog which is used for actions on the file is not capable of displaying a text field, a custom dialog is needed.
I have developed a custom top dialog inspired by macOS' dialog and tried to keep the minimalistic design of marktext. The dialog I created can not only be used to show rename dialog but can be used to create any custom dialog.
If you want changes to the design just comment, and I will implement them. That's why I first wanted to post an issue. I also still have to write tests for it. If you like I can then implement 'move to' as well.
Link to an example: You can have a look at it, in this fork (dev branch): https://github.com/DXXL/marktext
On the latest source the menu bar at the top is broken and replaced by a context menu.
Double bug in one here :
<
in a code block followed by a-Z char, All the text will be deleted after the <
occurrence till the end of line. Then the file is automatically saved and so you lose the line content forever.`if ( itemCount < s ) // some comment ` : followed by a space is good
`if ( itemCount <s ) // some comment ` : followed by a char from alphabet will truncate the line
Expected behavior: [What you expected to happen]
<
open
command but only on user input (ctrl-s or autosave when typing)Actual behavior: [What actually happened]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.