在记事本++中修复Markdown样式 [英] Fixing Markdown styling in Notepad++

查看:115
本文介绍了在记事本++中修复Markdown样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这家伙中获得了Notepad ++的Markdown样式.它们看起来非常好,而且我在其中发现的唯一令人烦恼的是,在内部使用时,粗体(**__)和斜体(*_)分隔符也有效"字.而且styler/Notepad ++不会一次寻找结尾定界符,而是找到了一个分隔符.

I've got Markdown styles for Notepad++ from this guy. They look very well, and the only, quite annoying, thing I found in them, is that bold (** or __) and italics (* or _) delimiters "works" also, when used inside words. And styler / Notepad ++ does not seek for ending delimiter once, it find opening one.

例如,编写这样的内容:We have to use MANY_MANY relation here导致文档的其余部分以斜体显示,因为MANY_MANY中的_ char被用作斜体的起始定界符(尽管它位于单词的内部) ),styler/Notepad ++不会寻找结尾.

So, for example, writing something like this:We have to use MANY_MANY relation here causes entire rest of document to be displayed in italics, because _ char in MANY_MANY is taken as starting delimiter for italics (though it is inside a word) and styler / Notepad++ does not seeks for an ending one.

是否有一种简单的方法来解决此问题,或者没有人知道Notepad ++的更好"的Markdown样式,而不会出现类似的问题?我听到了一些消息,说Notepad ++的样式器有点粗糙",可能无法解决上述问题.是真的吗?

Is there an easy way to workaround this problem or does anyone knows "better" Markdown styles for Notepad++, that does not fall with similar problem? I've heard something, that Notepad++'s styler is a little bit "tough" and problems like above may be impossible to fix. Is that true?

推荐答案

https://github.com/Edditoria/markdown_npp_zenburn

我刚刚检查了一下,它处理了单词中间的*_.尝试一下,看看是否更喜欢它.

I just checked and it handles the *and _ in the middle of words. Try it out and see if you like it better.

这篇关于在记事本++中修复Markdown样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆