We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It works like this, but I am not sure if other things need to be changed too
langs.ts, line 55:
// https://hyperpolyglot.org/lightweight-markup switch (editor.document.languageId) { ... case 'latex': return ` \\begin{figure}[htbp] \\centering \\includesvg[width=0.8\\textwidth]{${filename.replace(/\\/g, '/').replace(/^\.\.\//, '')}} \\end{figure}`;
(there are probably better options to replace the leading ../ of the path )
../
The text was updated successfully, but these errors were encountered:
Hi @bluuas! I'm not actively using this extension lately so won't likely add support for this myself but I'd be happy to review an MR for it.
Sorry, something went wrong.
No branches or pull requests
Latex language support with the \includesvg command
It works like this, but I am not sure if other things need to be changed too
langs.ts, line 55:
(there are probably better options to replace the leading
../
of the path )The text was updated successfully, but these errors were encountered: