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

Apply messy workaround to broken logic of theme directory resolution #103

Merged
merged 6 commits into from
Nov 17, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Nov 17, 2019

I've fixed the broken logic of theme directory resolution by using messy way. We will find a using document by matching passed text.

Fixed #100, but there is known issue: When 2 and more Markdown documents have exactly same content, we might use incorrect base directory to resolve theme.

There is not VS Code API to get placed directory or workspace of Markdown. (microsoft/vscode#84846)

@yhatt yhatt merged commit 78ae543 into master Nov 17, 2019
@yhatt yhatt deleted the workaround-for-theme-resolution branch November 17, 2019 16:33
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.

My custom theme doesn´t affect vscode preview presentation
1 participant