Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MAGICYMZ opened this issue Dec 10, 2018 · 4 comments
Open

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

MAGICYMZ opened this issue Dec 10, 2018 · 4 comments

Comments

@MAGICYMZ
Copy link

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.

@Edwardzcn
Copy link

Edwardzcn commented Jan 9, 2019

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

@Edwardzcn
Copy link

1

2

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

@YungeG
Copy link

YungeG commented Oct 31, 2019

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

@jiftle
Copy link

jiftle commented Oct 7, 2020

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

正常的写法:

tags: tag1, tag2, tag3

希望兼容的写法:

tags: [tag1, tag2, tag3]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants