-
Notifications
You must be signed in to change notification settings - Fork 424
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
feat: (hooks) 自动超链接-支持展示固定长度字符 #391
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* dev: feat: Tencent#370 增加refreshPreviewer方法,可以强制重新渲染预览区域 fix: 跨单元格的行内公式、行内代码语法改成不生效
Co-authored-by: sunsonliu <[email protected]> Co-authored-by: lyngai <[email protected]> Co-authored-by: humyfred <[email protected]> Co-authored-by: jiawei686 <[email protected]>
* dev: feat: Tencent#379 通过引入第三方组件cm-search-replace实现左侧编辑器搜索、替换功能 fix: Tencent#380 修复粘贴时转义&的问题,同时修复粘贴table时出现过多换行的问题\n feat: 当表格thead为空的时候,不再渲染<thead> fix: Tencent#374 光标处于编辑区域最低部时,预览区域滚动到了顶部
Co-authored-by: sunsonliu <[email protected]> Co-authored-by: lyngai <[email protected]> Co-authored-by: humyfred <[email protected]> Co-authored-by: jiawei686 <[email protected]>
AutoLink加入截取指定长度字符串展示的功能 config.engine.global新增两个配置项: /** 是否开启短链接:默认开启 */ enableShortLink: true /** 短链接长度:默认20个字符 */ shortLinkLength: 20 修改超链接部分展示样式
lyngai
requested changes
Feb 13, 2023
1. 避免匹配`www`导致域名篡改 2. 去除包裹`<a>`的`<span>` 3. AutoLink继承`openNewPage`属性 4. 移除Link中的target篡改
lyngai
requested changes
Feb 13, 2023
1. AutoLink中XSS隐患修复
sunsonliu
reviewed
Feb 13, 2023
1. 配置项移至syntax.autoLink内
wty92911
pushed a commit
to wty92911/cherry-markdown
that referenced
this pull request
May 22, 2023
* feat: (hooks) 自动超链接-支持展示固定长度字符 AutoLink加入截取指定长度字符串展示的功能 config.engine.global新增两个配置项: /** 是否开启短链接:默认开启 */ enableShortLink: true /** 短链接长度:默认20个字符 */ shortLinkLength: 20
wty92911
pushed a commit
to wty92911/cherry-markdown
that referenced
this pull request
May 22, 2023
* dev: fix: unity header anchor safe id fix: Tencent#388 修复复制粘贴图片时,图片alt属性丢失的问题 feat: (hooks) 自动超链接-支持展示固定长度字符 (Tencent#391) fix: 复制粘贴代码块的时候会丢失\t vscode 插件更新到0.0.7 feat: 增加vscode plugin,可以在vscode扩展中输入cherry-markdown搜索安装该插件 feat: 丰富图标,优化侧边栏切换主题按钮的下拉框定位 Tencent#382 feat: 增加上传文件的按钮hook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AutoLink加入截取指定长度字符串展示的功能
config.engine.global新增两个配置项:
/** 是否开启短链接:默认开启 /
enableShortLink: true
/* 短链接长度:默认20个字符 */
shortLinkLength: 20
修改超链接部分展示样式