chenguanzhou / markdowneditor Goto Github PK
View Code? Open in Web Editor NEWAn open-source modern-style desktop markdown editor for Windows 7 and above, based on WPF
Home Page: http://chenguanzhou.github.io/MarkDownEditor/
An open-source modern-style desktop markdown editor for Windows 7 and above, based on WPF
Home Page: http://chenguanzhou.github.io/MarkDownEditor/
win10家庭版,有时会突然崩溃。少数情况下会导致文件损坏,丢失部分数据。
发现不支持[toc]生成目录
请问该如何生成一个点击跳转的提纲目录? 您的图片示例中字体都一样,是否可以生成字体随着标题级别变化的目录? 是否可以给初学者提供一个较为详细的范本?谢谢
预览功能感觉慢半拍,要是能及时就更好了,非常感谢给我们带来这么便利的工具
上传图片功能是不是有Bug呀,在线图片存储服务都不能用!
1.符号\varepsilon 在你的软件不存在只有\epsilon
2. WIN7导出docx时候所有的 \begin{equation} 格式书写的公式全不输出。是否可以修正? 那就太完美了
win10安装后双击程序图标无法运行,没有提示任何错误。
MarkDownEditor导出格式挺多的,但是不能导出带左侧导航目录的html,这样浏览文章很费劲。不知道是否有导出带目录结构的html功能?
通过知乎的安利,使用了您的软件。
界面和功能上非常不错,简单清晰。
但是在我本地打字响应速度有明显感觉,希望能提高。
是否可以自定义七牛云账号?
例如:
ctrl+1就是一级标题 # 标题1
ctrl+2就是二级标题 ## 标题2
以及其他插入图片,列表等等的快捷键
WPF是支持触屏的。我自己用的电脑是触屏的,在用手指触摸移动的时候,我不希望出现选择文本的那种效果,而是翻页效果。当然在用鼠标时还是像原来一样。我自己的方法是在MainWindow.xaml.cs里面加了以下内容:
private Point touchStartPoint;
private Point touchEndPoint;
//右边的部分
private void MvvmCWBrowser_PreviewTouchDown(object sender, System.Windows.Input.TouchEventArgs e)
{
string src = $"onmousedown=new Function(\"return false\")";
mvvmCWBrowser.GetMainFrame().ExecuteJavaScriptAsync(src);
touchStartPoint = e.GetTouchPoint(mvvmCWBrowser).Position;
}
private void MvvmCWBrowser_PreviewTouchMove(object sender, System.Windows.Input.TouchEventArgs e)
{
touchEndPoint = e.GetTouchPoint(mvvmCWBrowser).Position;
string src = $"scrollBy({-touchEndPoint.X+touchStartPoint.X}, {-touchEndPoint.Y + touchStartPoint.Y})";
mvvmCWBrowser.GetMainFrame().ExecuteJavaScriptAsync(src);
touchStartPoint = touchEndPoint;
}
//左边的部分
private void MvvmTextEditor_PreviewTouchDown(object sender, System.Windows.Input.TouchEventArgs e)
{
touchStartPoint = e.GetTouchPoint(mvvmTextEditor).Position;
mvvmTextEditor.IsTouched = true;
}
private void MvvmTextEditor_PreviewTouchMove(object sender, System.Windows.Input.TouchEventArgs e)
{
touchEndPoint = e.GetTouchPoint(mvvmTextEditor).Position;
mvvmTextEditor.ScrollToVerticalOffset(mvvmTextEditor.VerticalOffset + (touchStartPoint.Y - touchEndPoint.Y));
touchStartPoint = touchEndPoint;
}
然后在MvvmTextEditor.cs里加了
public bool IsTouched = false;
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
{
if (!IsTouched)
{
base.OnPreviewMouseDown(e);
}
else
{
e.Handled = true;
}
}
protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
{
if (!IsTouched)
{
base.OnPreviewMouseUp(e);
}
else
{
e.Handled = true;
}
IsTouched = false;
}
最后在MvvmChromiumWebBrowser中加
protected override void OnMouseUp(MouseButtonEventArgs e)
{
base.OnMouseUp(e);
string src = $"onmousedown=new Function(\"return true\")";
this.GetMainFrame().ExecuteJavaScriptAsync(src);
}
本人纯小白,不知道有没有什么更好的实现方法……也不知道大佬们还有没有关注这个……
横向缩放缩小到一定程度之后就不能再缩小了
public App()
{
var settings = new CefSettings();
settings.EnableInternalPdfViewerOffScreen();
settings.CefCommandLineArgs.Add("disable-gpu", "1");
Cef.Initialize(settings, shutdownOnProcessExit: false, performDependencyCheck: true);
}
Cef.Initialize(settings, shutdownOnProcessExit: false, performDependencyCheck: true); throw exception.
{"Unable to locate required Cef/CefSharp dependencies:\r\n
Missing:CefSharp.BrowserSubprocess.exe\r\n
Missing:CefSharp.BrowserSubprocess.Core.dll\r\n
Missing:CefSharp.Core.dll\r\n
Missing:CefSharp.dll\r\n
Missing:icudtl.dat\r\n
Missing:libcef.dll\r\n
Executing Assembly Path:D:\lajinanpiao\github\MarkDownEditor\MarkDownEditor\bin\x64\Debug\r\n"}
显示屏分辨率为1920*1080,预览界面显示字体模糊
请问markdown的解析器是自己实现的还是第三方的开源库?谢谢🙏
把各级标题单独现在在大纲栏
类似word的导航窗格效果
目前的win平台md编辑器仅有typora和cutemarked有大纲功能.在写东西时有这个舒服很多
在切换至其他的窗口后,再切换回来,不能直接输入,要点击一下输入区才能输入。
when open a md file or new (ctrl + n),the previous file will be replace.
another problem,every time i open a file , the markdowneditor window is maximized
引用了本地图片 PDF 导出无法显示
It would be especially nice to work on project documentation with markdown if the editor was able to load an index of multiple MD files on the left and which ever was selected would appear for editing in the right pane.
The index file could be index.md with contents like:
readme.md "Read Me"
setup.md "Setting up the Project"
/docs/tech.md "Technologies / Packages"
/docs/sql.md "SQL Scripts"
Your app would then load a list of pages in a small vertical pane on the left showing the text of each entry if text was provided at all.
Consider reduce it a little bit?
Please download the v0.3.8, and try again
https://github.com/chenguanzhou/MarkDownEditor/releases
顶好的编辑器,先给个赞,不知道后续会不会做linux版?
如输入$E=mc^2$有可能会出现(E=mc^2)这样的样式。
末尾还可能带Loading [Contrib]/a11y/accessibility-menu.js这样的字样。输出为Docx则正常。
把那些大按钮收起来吧....真心有点扎眼
这款MarkdownEditor很不错,不过最新的.6、.7两个版本,我在win10.0.10586,安装后,无法启动,想请教下是什么问题
前面有个反应win10不能用的竟然被作者关闭问题。win10安装后,点击图标无任何反应,已安装.net 4.5.2.
另外,能不能加入回退和历史功能,写错了回退都没有。修改也无历史。
如果能在这个APP上直接与githud同步,那是最好了
first of all, thank you for the wonderful work. Among all the features, I like the support of PDF export and the instant rendering of text. The app starts and closes quickly on my win10.
It seems that it does not support the flow chart at this time. Would you have it in future release?
If support insert image with relative path, we can easily migrate file and run without network. Thank you for providing such nice tool.
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.