evermonkey icon indicating copy to clipboard operation
evermonkey copied to clipboard

富文本支持以及hexo的front-matter支持

Open MAGICYMZ opened this issue 5 years ago • 4 comments

Describe your operation with evermonkey commands step by step.

  1. I open a note by ever open
  2. I edit my md file.
  3. I publish the note ever publish

Copy and paste your Markdown file contents here

首先非常感谢作者提供这么棒的插件,这里提两个小众需求,希望作者能够支持一下

  1. 希望evermonkey的标题,标签,笔记本的编写模式支持hexo的front-matter模式,目前evermonkey的格式如下
---
title: note title
tags: tag1, tag2, tag3
notebook: notebook
---

而hexo的front-matter的格式如下

---
title: note title
categories: 
- categories1
tags: 
- tag1
- tag2
……
description: 
toc: true
mathjax: true
comments: on
---

如果作者能够把notebook标签替换为 categories标签,并且将分隔符改为-分隔符,并且自动过滤除了title,categories,tags以外的标签,这样的话,我就能在vscode上写一份markdown,同时保存在印象笔记中,又能发表到hexo博客上啦

  1. 希望evermonkey支持自定义的HTML格式,因为markdown的基本语法虽然方便,但是有些效果还是需要手动通过HTML标签来实现,但是如果用evermonkey上传的文件中包含html标签的话,就会报错, 例如,我直接在markdown中编写

引用内容

但是包含这段代码片段的markdown通过evermonkey上传到印象笔记中的时候就会出现 Evernote Error: 11 - Element "section" must be declared

The Error vscode prones.

MAGICYMZ avatar Dec 10 '18 06:12 MAGICYMZ

同样是一名使用Hexo使用者,同样希望evermonkey的开发者可以开放针对Hexo编辑风格的front-matter的支持。

Edwardzcn avatar Jan 09 '19 17:01 Edwardzcn

1

2

很苦恼的就是两边Tag标记风格不一样。不知道怎么处理这个问题。

Edwardzcn avatar Jan 09 '19 17:01 Edwardzcn

写个小程序把文本替换了,我目前就是这么做的

YungeG avatar Oct 31 '19 01:10 YungeG

me too,我也是Hexo的用户,希望tags能够兼容以下写法。

正常的写法:

tags: tag1, tag2, tag3

希望兼容的写法:

tags: [tag1, tag2, tag3]

目前,我是通过shell脚本sed替换的。

jiftle avatar Oct 07 '20 14:10 jiftle