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

replace tab 2 space with \t #33

Closed
wants to merge 3 commits into from
Closed

replace tab 2 space with \t #33

wants to merge 3 commits into from

Conversation

xiadd
Copy link
Contributor

@xiadd xiadd commented May 11, 2021

另外tab-indent里的tab行为被code-fence里的覆盖了,后续可以想办法解决一下

@Saul-Mirone
Copy link
Member

之前tab是\t的,但是我发现有tab长短不一的问题,你知道原因吗?

@xiadd
Copy link
Contributor Author

xiadd commented May 11, 2021

之前tab是\t的,但是我发现有tab长短不一的问题,你知道原因吗?

好像是有这个问题,是否可以设置tab-size来规避,使用两个空格的问题就是删除的时候要按两次

@Saul-Mirone
Copy link
Member

印象中上次尝试的时候不行,今天有空再试一下

@xiadd
Copy link
Contributor Author

xiadd commented May 11, 2021

我本地试了一下是可以的,不过tab-size不支持ie

@Saul-Mirone
Copy link
Member

那估计要在theme里支持一下,code fence中的Tab也要修改一下

@Saul-Mirone
Copy link
Member

Hi, 你这边有空支持theme中关于tab-size的更新以及code frame中的Tab的更新吗?

@xiadd
Copy link
Contributor Author

xiadd commented May 11, 2021

Hi, 你这边有空支持theme中关于tab-size的更新以及code frame中的Tab的更新吗?

没问题的 我明天处理一下

@xiadd
Copy link
Contributor Author

xiadd commented May 13, 2021

@Saul-Mirone \t的大小确实有点问题,我看codemirror也是这回事,没找到特别好的方法,换回两个空格了,另外加了个判断使fence的keymap只在fence中生效,后续是不是其他node也可以有类似判断?

@Saul-Mirone
Copy link
Member

Closed for idle.

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

Successfully merging this pull request may close these issues.

2 participants