evermark icon indicating copy to clipboard operation
evermark copied to clipboard

不支持自定义子目录下的md文件

Open cyio opened this issue 8 years ago • 3 comments

image

我已经有包含一堆md文件的目录,希望能 evermark init后直接使用

cyio avatar Feb 16 '17 12:02 cyio

谢谢反馈!等我有时间看看这个问题。

akuma avatar Feb 17 '17 03:02 akuma

@cyio 你这个错误好像是 vim.md 里包含了 evernote 不支持的元素。

akuma avatar Feb 22 '17 11:02 akuma

确实,换了个文件成功了。不过,不知道哪儿不合法,要提前检测的话,似乎复杂了

And you're absolutely right, ENML validation has been the most difficult part of this process. I've found that sending the HTML through TidyHTML with the drop-proprietary-attributes flag produces almost-ENML compliant markup. I then use the prohibited lists to remove any non-ENML elements and attributes. It's not the prettiest thing but it seems to be working.

Allowed attributed in ENML - Evernote API Discussion - Evernote User Forum

cyio avatar Feb 22 '17 14:02 cyio