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

DEV #2

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
f44eedc
Fix: ObsidianMD tags now support special characters
ipcjs Mar 31, 2024
a1ed29d
fix: support multi files or dirs when use cmd
ipcjs Mar 31, 2024
c8b433c
feat: add nestedNotebookSeparator
ipcjs Mar 31, 2024
e02e3f5
chore: update turndown to latest
ipcjs Mar 31, 2024
aed8156
fix: "目录" also is TOC notetitle
ipcjs Mar 31, 2024
c5cd955
fix: nestedNotebookSeparator
ipcjs Mar 31, 2024
5382c8f
perf: Make sure the link is shortest
ipcjs Mar 31, 2024
9f68dc6
wip: update config
ipcjs Mar 31, 2024
4cd4b40
feat: add `nestedTags.characterMap` config
ipcjs Apr 4, 2024
167fae5
fix: wiki link in table
ipcjs Apr 4, 2024
1dfa62d
fix: Links beginning with `#` are recognized as headings
ipcjs Apr 4, 2024
d7c3e21
chore: update characterMap
ipcjs Apr 4, 2024
8a9dae3
perf: isTOC include chinese
ipcjs Apr 4, 2024
616e603
wip: update characterMap
ipcjs Apr 4, 2024
473f647
fix: 文件index的判断
ipcjs Apr 4, 2024
d322e7d
feat: add keepEvernoteExternalLinks
ipcjs Apr 4, 2024
f0504ae
fix: width is 0
ipcjs Apr 4, 2024
1c9a0d9
feat: 支持递归读取目录
ipcjs Apr 4, 2024
bc20735
fix: 返回的是完整路径
ipcjs Apr 4, 2024
4e9062a
fix: timestamp error
ipcjs Apr 5, 2024
4ee5fb6
fix: Fixed the issue of links being removed from images with links.
ipcjs Apr 5, 2024
bfb89f6
fix: prevent create hidden files
ipcjs Apr 5, 2024
314e4c7
fix: 内部链接的路径分隔符问题
ipcjs Apr 7, 2024
30ebb32
chore: add .vscode
ipcjs Apr 7, 2024
5d9c8e8
chore: 使用`- `作为列表前缀
ipcjs Apr 7, 2024
89a925b
chore: update enexSources
ipcjs Apr 7, 2024
64d99b7
fix: 移除链接中针对`[`和`\`的特殊处理
ipcjs Apr 8, 2024
304ce6c
chore: 模板添加标题
ipcjs Apr 8, 2024
38c072d
chore: 重置配置文件和模板
ipcjs Apr 9, 2024
7aa51ff
fix: test- `Replace invalid tags`
ipcjs Apr 10, 2024
3ad2c56
fix: 转义所有`<`, 部分`_`不替换
ipcjs Apr 10, 2024
f9057e9
feat: 支持从命令行参数中传入选项
ipcjs Apr 10, 2024
bde8acd
Merge remote-tracking branch 'upstream/master'
ipcjs Apr 11, 2024
e3498ae
fix: 链接中文件名的`_`被转换成`\_`的问题
ipcjs Apr 13, 2024
92adbb5
chore: 移除模板标题...
ipcjs Apr 13, 2024
c8a6ff3
feat: tags yaml list (#629)
akosbalasko Apr 16, 2024
68bbe51
v6.13.0
semantic-release-bot Apr 16, 2024
17ffeb2
fix: convert `~~` to `\~~`
ipcjs Apr 17, 2024
e5c2be5
Merge remote-tracking branch 'upstream/master' into pr-dev
ipcjs Apr 18, 2024
de8b4ea
fix: remove links that don't contain text.
ipcjs Apr 18, 2024
b2c9ac0
wip: cleanup internal-links-rule
ipcjs Apr 18, 2024
5d241cd
perf: Optimize wiki links
ipcjs Apr 18, 2024
d472d28
feat: add `outputMarkdownDirName` options
ipcjs Apr 19, 2024
ecdd497
fix: Ignore links with the url `#`
ipcjs Apr 21, 2024
423ef44
fix: prevent `$` from being escaped
ipcjs Apr 22, 2024
0c1eff0
fix: prevent `%` from being escaped
ipcjs Apr 22, 2024
b66ff29
fix: `||` was incorrectly converted to `\|` in table
ipcjs Apr 23, 2024
4e6f629
fix: starting with `#` may be an anchor link
ipcjs Apr 23, 2024
bd75b02
fix: re-ignore links with the url `#`
ipcjs Apr 23, 2024
436cda8
fix: remove underline when it contain a link
ipcjs May 8, 2024
6b63ad1
chore: update launch.json
ipcjs May 8, 2024
8faa423
fix: convert `==` to `\==`
ipcjs May 8, 2024
3c52654
fix: do not convert `== word` to `\== word`
ipcjs May 8, 2024
e430cd0
fix: bolded row as table header
ipcjs May 14, 2024
d535405
fix: error when table has only one row
ipcjs May 15, 2024
62d39d7
chore: update launch.json
ipcjs May 15, 2024
a18bfa6
perf: bold row as head to adapt to more situations
ipcjs May 23, 2024
0bd19b9
perf: insert `\` in empty line
ipcjs Jun 10, 2024
5e6610a
feat: add `indentCharacter` option
ipcjs Jul 3, 2024
995ed16
chore: update vscode config & format code
ipcjs Jul 23, 2024
b2d4086
fix: removed error handling code from list
ipcjs Jul 23, 2024
e4ee713
fix: process strike by style
ipcjs Aug 4, 2024
82412de
fix: extract the hasLineThroughStyle method
ipcjs Aug 4, 2024
616b70c
chore: update to node 16
ipcjs Aug 4, 2024
0e1cca6
perf: support cache text file
ipcjs Aug 4, 2024
5502753
fix: filename ignore case
ipcjs Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: nestedNotebookSeparator
ipcjs committed Mar 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c5cd9555c6e3059eed9679d6abff9487561340a8
6 changes: 4 additions & 2 deletions src/utils/filename-utils.ts
Original file line number Diff line number Diff line change
@@ -158,8 +158,10 @@ export const getNoteName = (dstPath: string, note: any): string => {
};

export const getNotebookName = (enexFile: string): string => {
const notebookName = normalizeFilenameString(path.basename(enexFile, '.enex'));

let notebookName = normalizeFilenameString(path.basename(enexFile, '.enex'));
if (yarleOptions.nestedNotebookSeparator) {
notebookName = notebookName.replace(yarleOptions.nestedNotebookSeparator, path.sep)
}
return notebookName;
};