How to use the @shd101wyy/mume.utility.extensionConfigDirectoryPath function in @shd101wyy/mume

To help you get started, we’ve selected a few @shd101wyy/mume examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shd101wyy / vscode-markdown-preview-enhanced / src / extension.ts View on Github external
function customizeCSS() {
    const globalStyleLessFile = utility.addFileProtocol(
      path.resolve(utility.extensionConfigDirectoryPath, "./style.less"),
    );
    vscode.commands.executeCommand(
      "vscode.open",
      vscode.Uri.parse(globalStyleLessFile),
    );
  }
github shd101wyy / vscode-markdown-preview-enhanced / src / extension.ts View on Github external
function openMathJaxConfig() {
    const mathjaxConfigFilePath = utility.addFileProtocol(
      path.resolve(utility.extensionConfigDirectoryPath, "./mathjax_config.js"),
    );
    vscode.commands.executeCommand(
      "vscode.open",
      vscode.Uri.parse(mathjaxConfigFilePath),
    );
  }