Yu Zhang yzhang-gh

Markdown All in One

Dictionary completion

Jupyter for Visual Studio Code

Remark with Beamer style

to record ddls and others

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.

a minecraft-like game

issue commentyzhang-gh/vscode-markdown

It adds extra syntax (e.g. [[TOC]] or whatever) to the commonly used Markdown. You need a standalone Markdown extension to do this.

Take "Markdown Footnotes" as an example (it adds additional Markdown syntax for footnotes), you can install Markdown Footnotes which uses markdown-it-footnote.

This extension is compatible with them.

comment created time in 2 hours

issue commentyzhang-gh/vscode-markdown

@Lemmingh Thanks.

iodar

comment created time in 11 hours

issue closedyzhang-gh/vscode-markdown

What is the problem?

When I tab-complete a latex function inside a  block, it often strips the initial backslash that I need for latex. How can I prevent this? e.g. It goes from \mathbf to mathbf{}

How can I reproduce it?

See above. I worry maybe it's some other extension interfering though.

Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools -->

no

closed time in a day

ljarin

issue commentyzhang-gh/vscode-markdown

Thanks for the update. You can disable some extensions to see whether it makes any difference.

ljarin

comment created time in a day

issue commentyzhang-gh/vscode-markdown

It is complicate (there are so many different usages of tab).

I am using emmet.triggerExpansionOnTab: true and it becomes $\<mathbf></mathbf>$. If I disable that option, the outcome is <code>$\mathbf$</code> 😑. So I always use enter key to accept a completion.

ljarin

comment created time in a day

issue commentyzhang-gh/vscode-markdown

Thanks for the information 👍. I would say let it go. We haven't seen many people complaining about it yet 😅.

iodar

comment created time in 3 days

issue commentyzhang-gh/vscode-markdown

😮 That's weird. They are still %...% on my PC.

iodar

comment created time in 3 days

issue commentyzhang-gh/vscode-markdown

Let's just leave it open.

iodar

comment created time in 3 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. It is because we use these %placeholder%s to do localization (dates back to #240). I am not sure whether there is a better way now. But it doesn't seem to be a big problem (as you can see the description in the Settings UI).

iodar

comment created time in 3 days

issue commentyzhang-gh/vscode-markdown

👍

anishmittal2020

comment created time in 4 days

issue commentyzhang-gh/vscode-markdown

Jerksen

comment created time in 4 days

issue closedyzhang-gh/vscode-markdown

Really appreciate the extension and its quite useful.

What is the problem?

Extension takes a few seconds for the first time usage after fresh opening of VScode. We get error: Enter key is not found. And we have to wait approximately 30 seconds for it to be working.

Questions

There are a lot of features of this extensions that I don't use. For instance, I only use this for List Editing and for keyboard shortcuts for bold, italic, too etc.

Do you think the extension would load faster, if the end user could specify which features they want to use (in settings.json)?

There are other markdown extensions, which don't have the issue of startup lag. May be it will be useful to disable those features which cause the excessive startup lag (and missing enter key)!

closed time in 4 days

anishmittal2020

push eventyzhang-gh/notes

commit sha a379ccf8bb8f5677a02a711854bdf7d0c9cb0a4e

[jp] font!important

commit sha bb7d726f86c3ed8d25f40f07a09b09583b724fe1

push time in 4 days

push eventyzhang-gh/notes

commit sha c46ae7b364467dbcc7a801df0b972e08b603821d

[jp] fonts

push time in 4 days

push eventyzhang-gh/notes

commit sha 1e3aeca1a2a458cd5e5ef3e696c1c2bec3cf48ab

[matplotlib]

push time in 4 days

push eventyzhang-gh/vscode-dic-completion

💄 programming languages

push time in 4 days

issue commentyzhang-gh/vscode-markdown

It should be

https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

If it doesn't work for you, you may also check whether the text is in valid Table syntax.

onewildgamer

comment created time in 5 days

issue commentmicrosoft/vscode

Is your provider actually being invoking and returning results?

Yes. The extension provides common English word completions (e.g. abandon, ability, baby, background as in the GIF, line 4) only in the string/comments scope (this is done with some naive RegExps).

Generally, using abc... as trigger character does not make sense. This fights the quick-suggest-setting which already triggers completions as you type "normal" word characters. Trigger characters should be characters that typically don't appear in words, like .

I set the triggerChars because I couldn't get quick suggestions in the string/comment scope (i.e. my provider would not be invoked). You remind me that there is a setting editor.quickSuggestions which can be set to

{
"other": true,
"strings": true
}


I just tried and now my provider can be invoked without using abc as trigger chars 🤩. So my second question (no triggerChars) is solved and the first question is not important now. Please feel free to close this.

Just out of curious, how do you check whether the "quick suggestions" is invoked inside strings or comments? based on syntax highlight tokens?

yzhang-gh

comment created time in 5 days

issue openedmicrosoft/vscode

@jrieken Sorry if it is not a good place for this question but I'm having almost the same question as in #52411.

I registered a completionItemProvider for the JS/Python/… file type (only provides completions in string/comment parts). But the problem is then completions from the JS language server will no longer show up if I have registered the corresponding triggerChars.

See the comparison below (line 4 demonstrates myCompletionItemProvider and line 6 is for the JS language server).

So the questions are:

• Why the completions no longer show up automatically if there is another completion provider claiming the triggerChars?
• Can I get rid of triggerChars but still be able to get suggestion in the string/comment scope? It (no triggerChars) works well for Markdown, LaTeX etc. But quick suggestion seems not to be triggered inside string/comment scope of JS/Python etc.

Many thanks.

(https://github.com/yzhang-gh/vscode-dic-completion/blob/b316c6598040edb36277e3c5122939b79b0e09b1/src/completion.ts#L57-L71)

created time in 5 days

issue commentyzhang-gh/vscode-dic-completion

BTW, in case you don't know, this extension now offers suggestions if you are editing string/comment parts in Python/JS/TS files (need to enable the programmingLanguage option). I love it and am going to enable it by default starting from the next release. Feedback is welcome 😉.

skywind3000

comment created time in 5 days

issue commentyzhang-gh/vscode-dic-completion

• The quality of suggestions. This extension uses a relative small built-in dictionary rather than those used by some spell checkers (because they have, for example, many uncommon abbreivations).

Propose: collect words (space-split) from the current file, and use a filter to remove some unwanted words (e.g. Chinese words).

• The performance.

Propose: 1) incrementally rebuild the dictionary, and 2) disable this feature when editing large files. (We already have such a feature (performance sense) in Markdown All in One.)

skywind3000

comment created time in 5 days

issue closedyzhang-gh/vscode-dic-completion

Vscode by default have autocompletions which shows a list of already used words (in the file). As it is more likely that an already used word is used again. These words don't have to be in the dictionary.

Request

1. Is it possible to have an option to enable the default autocompletion of vscode results that could show before the results of dictionary.
2. May be it would also be better to have a keyboard shortcut to disable or enable it.

closed time in 5 days

anishmittal2020

issue commentyzhang-gh/vscode-dic-completion

Let's track this at #22.

anishmittal2020

comment created time in 5 days

issue commentyzhang-gh/vscode-markdown

Thanks for the suggestion. Would like to see if anyone want to help.

yumetodo

comment created time in 7 days

issue commentyzhang-gh/vscode-markdown

Thanks for the suggestion. You can use the <kbd>end</kbd> key to move the cursor before we change the paste behavior.

lcenchew

comment created time in 7 days

push eventyzhang-gh/notes

commit sha c23074a00912c96b1e7183bfbeecc311c26bd8d9

[jp]

push time in 8 days

issue commentyzhang-gh/vscode-markdown

That's a good idea, although we cannot access the theme color yet.

nyanpasu64

comment created time in 9 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. The color was picked based on a dark theme I was using, although I switched to a light one recently.

We now have the API to know the theme kind (https://github.com/microsoft/vscode/issues/32813#issuecomment-617843228) but picking a proper color is still challenging as there are many different themes.

nyanpasu64

comment created time in 9 days

issue commentyzhang-gh/vscode-markdown

we-taper

comment created time in 9 days

push eventyzhang-gh/vscode-dic-completion

commit sha b316c6598040edb36277e3c5122939b79b0e09b1

Update main.yml

push time in 9 days

push eventyzhang-gh/notes

commit sha 7f1ff80e6dcfa65cf5aff0c56154cd3719ae304d

[latex]

push time in 11 days

push eventyzhang-gh/notes

commit sha 79db72a6ae8c76720605e8d91f388d37f8eaa510

[latex]

push time in 11 days

push eventyzhang-gh/notes

commit sha f038f40ffbd53294744effd3d4dfcf42159d46e7

[latex] 11pt

push time in 11 days

push eventyzhang-gh/vscode-dic-completion

commit sha d37cea5282828e03646062992e58aa5187f8dfc0

🔧 enable 'programmingLang' by default

commit sha aeebcc2f21235ceec4a695ab772fe4d61b814672

✨ support multiline comment

commit sha 661618bb25c800f983fbec86bf6d5a090680b681

🐛

push time in 11 days

issue commentyzhang-gh/vscode-markdown

Should be good now 😅.

jerry-sky

comment created time in 12 days

push eventyzhang-gh/vscode-markdown

💚

push time in 12 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. It should be fixed in the dev build.

jerry-sky

comment created time in 12 days

push eventyzhang-gh/vscode-markdown

commit sha 055de988862f7e03ddcbfa18def5ab41327f0f6e

push time in 12 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. It should be fixed in the dev build.

yah01

comment created time in 12 days

push eventyzhang-gh/vscode-markdown

commit sha bdfed3898ae53d175f2f7b2f711ff72b46ca1d03

🐛 #731 escape spaces in image paths

push time in 12 days

issue closedyzhang-gh/vscode-markdown

What is the problem?

Bitbucket markdown relies on <a> tag for jumping through the ToC.

How can I reproduce it?

For example in markdown:

- [1. Introduction](#1-introduction)

<a name="1-introduction"></a>
# 1. Introduction


Currently the extension does not generate the a-tag, causing the ToC hyperlink not working in Bitbucket.

Is there any error message in the console?

No

closed time in 13 days

mozram

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. Please refer to #703.

In short, it is an issue of Bitbucket. Of course we can provide a workaround (as you said, <a> tags), but I would suggest someone make a standalone plugin for Bitbucket.

mozram

comment created time in 13 days

push eventyzhang-gh/vscode-markdown

📝 typo

push time in 13 days

issue commentyzhang-gh/vscode-markdown

ok, i'll look into this. actually found a module this morning that might do this among other things... https://www.npmjs.com/package/markdown-it-toc-and-anchor-fork

It seems to be a fork of https://github.com/medfreeman/markdown-it-toc-and-anchor, which may be a better choice.

By using above markdown-it plugin you are changing the Markdown rendering. As it doesn't change your Markdown source file, I'm not sure whether it works as you expect (on Bitbucket).

alternatively, what do you think about an optional callback in your code after toc insert/update and after toggle sectionNumbers?

I'm not quite sure how to do it. IMO, TOC and <a> tags are both based on the headings and meanwhile independent. It should be enough to execute your code after the file save event (because file is always in a unsaved state after "insert/update TOC" and "add/update/remove section numbers" commands.)

JoernBerkefeld

comment created time in 13 days

issue commentyzhang-gh/vscode-markdown

Personally I would still suggest that someone make a standalone Bitbucket TOC extension. Its only feature is to generate proper <a> tags above headings as the TOC part can be generated by this extension.

Code that might be useful

JoernBerkefeld

comment created time in 14 days

push eventyzhang-gh/vscode-dic-completion

commit sha 6e00ff32d4e58e3611422dbb2d0419211eebb2ed

📝

push time in 14 days

push eventyzhang-gh/vscode-dic-completion

commit sha 699ffc0044f74cedaf3001a45d0f3fe8f8e6082e

📝

push time in 14 days

push eventyzhang-gh/vscode-dic-completion

commit sha b3cf1952ea3ac53063da73c932195868d415a671

commit sha 6598a31a8a109a8c48d77dda653584ef2df2d34b

✨ #24 programming languages support

commit sha bc2cb12bdd93684ea5f0e8bf78b69047c9775b22

💄

commit sha 6591ba07ec1da45eceaea65e736e7c888766ca7d

🔖 v0.9.0

push time in 14 days

issue commentyzhang-gh/vscode-dic-completion

v0.9.0 released.

joshinils

comment created time in 14 days

issue commentyzhang-gh/vscode-dic-completion

Coming soon

joshinils

comment created time in 15 days

push eventyzhang-gh/vscode-dic-completion

commit sha f31d8da805f2e805c63b44837973eb5236921635

✨ #25 supports multiple dict files; supports hunspell format

push time in 15 days

issue closedyzhang-gh/vscode-markdown

I would like to report some issues with using omittedFromToc setting on Windows.

1. Paths relative to the workspace do not work in omittedFromToc setting on Windows. The extension contains the code that attempts to change portion of the doc.fileName to an empty string for future search using relative path. It uses a string with absolute workspace path and slash character as a search pattern for replace. However, on Windows the doc.fileName contains backslash character, not slash, so the replace does not work. Because of this, the workspace relative paths do not work. The mentioned code is here: https://github.com/yzhang-gh/vscode-markdown/blob/7d7d9d9fc7d108b0a64477b9a46d130524c61b15/src/toc.ts#L78-L83
2. The replace and search in the settings is case-sensitive. However, the paths on Windows are mostly case-insensitive.

For now, the only way to use omittedFromToc setting on Windows is to use absolute paths and use non-capital character for drive letter (the first one in path), like this:

{
"settings": {
"markdown.extension.toc.omittedFromToc": {
]
}
}
}


closed time in 15 days

axxie

issue closedyzhang-gh/vscode-markdown

What is the problem?

After Ctr+Shift+P, I cant get "Markdown All in One: Remove section numbers"

And try remove this and reinstall , but still the same.

Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools -->

closed time in 15 days

dongshen

issue closedyzhang-gh/vscode-markdown

Problem

HTML output currently includes links to remote stylesheets (markdown.css & highlight.css) This prevents output from displaying correctly when offline

Solution

a) Allow an option for the stylesheets to be embedded (meh) b) Allow an option for the stylesheets to be local (my preference) c) Allow an option to exclude external stylesheets (also good)

Background

We document our source primarily thru jsdoc headers and a markdown file for each source file. We include a javascript file in each markdown file that ties all of the markdown HTML files together thru a sidebar table of contents. We'd like this to work well offline. Embedding the CSS in each file would be less than ideal.

Edited by @yzhang-gh

• [ ] option 1: embed all the CSS/JS files in the HTML (as done inside VSCode)
• [ ] option 2: do not include/link any CSS files (unless they are needed by Markdown dialects, e.g. math)

closed time in 15 days

frostius

issue closedyzhang-gh/vscode-markdown

What is the problem?

Many headings in TOC are missed when using code-snippet format of Try .NET.

cs --region "InlineData" --source-file ./../../Learn_xUnit.Test/InlineDataShould.cs --project ./../../Learn_xUnit.Test/Learn_xUnit.Test.csproj



How can I reproduce it?

• Create Markdown file
• Create TOC

Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools --> AFAIK I can't see any.

closed time in 15 days

Anil86

push eventyzhang-gh/vscode-markdown

commit sha e88d6d5e148a0fa6ef19451867034d25c1753a29

🔖 v3.1.0 fixes #706, fixes #727, fixes #694, fixes #695, fixes #701

push time in 15 days

issue closedyzhang-gh/vscode-markdown

What is the problem?

If the number of the subsections is 10+ operation ass/update section numbers doesn't remove old numbers

How can I reproduce it?

Add many (10+) subsections on the level ### and execute the command add/update section numbers

Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools -->

Not sure.

closed time in 15 days

mpostol

issue closedyzhang-gh/vscode-markdown

What is the problem?

• Thanks for the new update, but numbering doesn't work as expected, i.e. it does not restart at 1 for sub-headers

• Also, is there any command to remove the numbering?

How can I reproduce it?

if you try to add section numbers to the sections below, head1-2-1 will get 1.2.2. instead of 1.2.1.

# head1



Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools -->

closed time in 15 days

ashtou

issue closedyzhang-gh/vscode-markdown

What is the problem?

SVG images have wrong mime type when exporting to HTML: <img src="data:image/svg;base64 instead of : <img src="data:image/svg+xml;base64

How can I reproduce it?

![Client procedure](./figure.svg)*Client procedure* and export to HTML. Add "+xml" to fix it.

Is there any error message in the console?

<!-- See VSCode Menu Bar -> Help -> Toggle Developer Tools -->

closed time in 15 days

wino45

issue closedyzhang-gh/vscode-markdown

What is the problem?

The line-through syntax decoration for the ~~strikethrough~~ syntax fails to display on large markdown files (files with more than around 1600 lines of text).

How can I reproduce it?

I have created a large markdown file, which should reproduce the problem. It was created by copy/pasting this Markdown syntax test page repeatedly.

Is there any error message in the console?

I only see these two error messages:

[Violation] 'setTimeout' handler took 74ms
[Violation] Forced reflow while executing JavaScript took 69ms


but I'm not sure if they have anything to do with the problem.

closed time in 15 days

quanticle

issue closedyzhang-gh/vscode-markdown

What is the problem?

Neither the Update Table of Contents command, nor the Toc: Update on Save feature are working on Windows.

How can I reproduce it?

Write a few headings, create a TOC then add or remove a few headings. If auto-update is disabled, run the Update Table of Contents command .

Is there any error message in the console?

There is no error message in the console.

Version Information

Version: 1.45.1 (user setup) Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a Date: 2020-05-14T08:27:35.169Z Electron: 7.2.4 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.18362

Extension Version: 3.0.0

closed time in 15 days

gurbindersingh

issue commentyzhang-gh/vscode-markdown

I did an investigation and it seems that we cannot access the theme color (i.e. textPreformat-foreground here) until https://github.com/microsoft/vscode/issues/32813 is solved.

Hozny

comment created time in 15 days

issue closedyzhang-gh/vscode-markdown

What is the problem?

When you use math inside nested blocks, it does not get rendered at all.

Is there any error message in the console?

Not that i could see...

closed time in 15 days

TriMoon

issue closedyzhang-gh/vscode-markdown

just like typora : http://support.typora.io/Auto-Numbering/ it not change the src text.

not like https://marketplace.visualstudio.com/items?itemName=legendmohe.markdown-index it change the src text, and need to run every time.

other issues: https://github.com/yzhang-gh/vscode-markdown/issues/457 https://github.com/yzhang-gh/vscode-markdown/issues/555

closed time in 15 days

dulm

issue commentyzhang-gh/vscode-markdown

Close as this is done by external CSS.

dulm

comment created time in 15 days

issue closedyzhang-gh/vscode-markdown

What is the problem?

Insertions of bullet sometimes happens:

• after indenting with Tab so that the bullet point does not move along with the cursor
• or not at all

How can I reproduce it?

With a bit of patience and good timing as shown in this GIF. If you regularly write deeply nested bullet point lists you notice it happening about 1 of 25 times. Nothing tragic, but mildly annoying.

Is there any error message in the console?

No.

closed time in 15 days

dschuessler

issue commentyzhang-gh/vscode-markdown

Close as there is not much we can do on this side.

dschuessler

comment created time in 15 days

issue closedyzhang-gh/vscode-markdown

What is the problem?

In VSCode markdown preview, text surrounded by "backticks" is highlighted, but when exporting to HTML the resulting <code> element is not.

How can I reproduce it?

• Create a new markdown file
• Add any text surrounded by backticks, for example: Test
• Use the command Print current document to HTML

Is there any error message in the console?

No

closed time in 15 days

Solybum

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. Let's track this at #686.

Solybum

comment created time in 15 days

issue commentyzhang-gh/vscode-dic-completion

DearVikki

comment created time in 16 days

issue commentyzhang-gh/vscode-markdown

Probably this weekend 😉.

quanticle

comment created time in 16 days

issue commentyzhang-gh/vscode-markdown

No worries.

progmem64

comment created time in 16 days

push eventyzhang-gh/notes

[matplotlib]

push time in 16 days

delete tag yzhang-gh/vscode-markdown

delete tag : beta

delete time in 17 days

issue commentyzhang-gh/vscode-markdown

Thanks for your contribution. I've made a few changes. It should be available in the dev build now.

quanticle

comment created time in 17 days

push eventyzhang-gh/vscode-markdown

commit sha 633cf943a4a0c0a51af02c5261dd3aa9f8ecf60c

🐜 #727 follow-up

push time in 17 days

pull request commentyzhang-gh/vscode-markdown

Thanks.

quanticle

comment created time in 17 days

push eventyzhang-gh/vscode-markdown

commit sha 44414303f1d65327b0eac18e134c45c1cdaaf68a

🔀 Made file size limit configurable (#728) Co-authored-by: Rohit Patnaik <quanticle@quanticle.net>

push time in 17 days

PR merged yzhang-gh/vscode-markdown

I added an option to the extension to allow users to tune the file size limit. It defaults to the current hardcoded value, 50000, but this allows users who accept the risk of a slowdown to tune the limit higher if need be.

+8 -3

0 comment

2 changed files

quanticle

pr closed time in 17 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback. It is by design as syntax decorations may cause performance issues on large files. https://github.com/yzhang-gh/vscode-markdown/issues/578#issuecomment-567081263.

Would it be possible to make this upper limit configurable?

It is doable, although I don't think it is needed for most users. Probably you can fork this repository and change it on your side. GitHub Actions will package a .vsix for you just like the dev build.

quanticle

comment created time in 17 days

push eventyzhang-gh/notes

commit sha 67a78b4dd7111320fca854234fddf6a8c134b5a4

[matplotlib]

commit sha a0e4af9e30fe6713bf8fe660512f693e4e818156

Merge branch 'master' of https://github.com/yzhang-gh/notes

push time in 18 days

issue commentyzhang-gh/vscode-dic-completion

Then it will be easier to implement. Thanks for the information.

joshinils

comment created time in 18 days

push eventyzhang-gh/vscode-dic-completion

commit sha 51ff3dc98bc3571ce93a07fb2c160566d0a0b848

📝

push time in 19 days

issue commentyzhang-gh/vscode-dic-completion

Thanks. So I think there are two features

• Support the hunspell format while still be compatible with our current file. (It looks quite simple.)
• Discard the first line if it is a number
• Discard anything after /
• https://github.com/yzhang-gh/vscode-dic-completion/blob/ff95ce65258ca5c22b1125441cf4d3911e9a8b28/src/completion.ts#L65
• Support multiple dictionary files
• Would you think having both German and English words in the suggestion is a bit messy sometimes?
• We can also go further thinking about multiple language support (#1). Then we better to offer an option to choose which language(s) to enable (e.g. using an array like ["en", ...]).
joshinils

comment created time in 19 days

issue commentyzhang-gh/vscode-markdown

Thanks to @Glucksistemi. Please try out the dev build (option print.includeVscodeStylesheets).

frostius

comment created time in 19 days

push eventyzhang-gh/vscode-markdown

commit sha 1448e34c443b6eb017cdcca318eaa7fd8cd698fa

🔀 Setting to turn off default CSS files (#726) * Added UseCustomCSS configuration parameter * Update package.json * 🐜 rename Co-authored-by: Никольский Кирилл Сергеевич <ksnikol4@mts.ru> Co-authored-by: yzhang <583181285@qq.com>

push time in 19 days

PR merged yzhang-gh/vscode-markdown

Related to issue #673

• Added "Use Default CSS" configuration param that switches off all non-custom and non-math CSS links in getStyles() function
+13 -7

1 comment

3 changed files

Glucksistemi

pr closed time in 19 days

pull request commentyzhang-gh/vscode-markdown

Many thanks.

Glucksistemi

comment created time in 19 days

push eventGlucksistemi/vscode-markdown

commit sha 373b7664879d6c367259a9060260f2f7b56ba086

🐜 rename

push time in 19 days

push eventyzhang-gh/vscode-dic-completion

commit sha ff95ce65258ca5c22b1125441cf4d3911e9a8b28

📝

push time in 20 days

issue commentyzhang-gh/vscode-dic-completion

Thanks for the question. It also took me a while to recall how those settings work.

You have two places to store your "user dictionary",

• either C:\Users\<username>\AppData\Roaming\Code\User\wordlist (you can open it with command open user dictionary)
• or inside the settings.json (i.e. userDictionary, a list of words for completion). (If you have disabled the useExternalUserDictFile option.)
joshinils

comment created time in 20 days

push eventyzhang-gh/notes

commit sha e99b8e83166c71b50fef6e8eedefa9085d6aab63

jp

push time in 20 days

issue commentyzhang-gh/vscode-markdown

Thanks for the feedback.

Extension takes a few seconds for the first time usage after fresh opening of VScode. We get error: Enter key is not found. And we have to wait approximately 30 seconds for it to be working.

Yes, that is the VSCode mechanism. From my personal experience, it takes ~3 seconds to get activated on my laptop and usually less than 1 second on my desktop PC. I'm superized that it can be 30 seconds 😲.

• How many VSCode extensions do you have?
• In addition, you can follow the VSCode's performance guide to see which extension/functionality causes this lag. (This will be really helpful as we don't need to add toggle for every small feature we have.)

Before that, you can try some settings we already provided (syntax.decorations and tableFormatter.enabled).

anishmittal2020

comment created time in 21 days

push eventyzhang-gh/vscode-markdown

commit sha 13f94b4b836a73ef490a872cd94b1b1eafdd47c4

📝

push time in 21 days

issue commentyzhang-gh/vscode-markdown

I see your point. Let's just collect more feedback and then see how we can improve it.

tperry-r7

comment created time in 21 days

issue commentyzhang-gh/vscode-markdown

to omit particular headings perhaps either the heading existing prior to the TOC could be omitted (by a flag) or a distinction could be made between setext and ATX heading styles where one type could be omitted.

Personally, I don't think a distinction between setext and ATX headings is a good solution (in terms of how many users will use this special rule). To omit headings before [TOC] makes more sense to me.

Upon re-reading the original post I'm thinking that perhaps this isn't the right spot for these comments?

This issue is about the toc.omittedFromToc (global) option while you are talking about omitting headings in general. They are different things but are both solutions to a general question.

BTW, I understand people may have different ideas about how to organize their Markdown file structures, e.g. blog posts. Just curious why you starts with level-1 heading when coming to the "Contents". You are putting them at the same level as "Title" (in other words, they have visually the same font size/weight etc.).

(See the README source file of this repository for a different section structure.)

tperry-r7

comment created time in 21 days

push eventyzhang-gh/notes

commit sha 66517180da0ae5a2c157a45b3f2166e3dcdb6700

...

push time in 21 days

push eventyzhang-gh/notes

commit sha 1f7aa00f9a006ec108fe1dc2baf3962b3daa4721

img path

push time in 21 days

push eventyzhang-gh/notes

test

push time in 21 days

issue commentyzhang-gh/vscode-dic-completion

"[markdown]": {
"editor.quickSuggestions": true
}


（BTW，偶然看到了你的个人主页，很有趣🤪

DearVikki

comment created time in 23 days

more