A browser based code editor
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Remy Suen b622773393 Fix hovers use of MarkedString to IMarkdownString
The conversion code for hovers ignored MarkedString's `language`
property which caused the content to be rendered incorrectly. The
code has been corrected to honour the property and now creates the
code block correctly.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
7 years ago
.vscode Init 9 years ago
scripts Bundle AMD using requirejs 7 years ago
src Fix hovers use of MarkedString to IMarkdownString 7 years ago
test Bundle AMD using requirejs 7 years ago
.gitignore Init 9 years ago
.npmignore Ship ESM; Adopt latest deps 7 years ago
LICENSE.md Init 9 years ago
README.md Add a test page, simplify development setup 8 years ago
package-lock.json 2.0.1 7 years ago
package.json 2.0.1 7 years ago

README.md

Monaco CSS

CSS language plugin for the Monaco Editor. It provides the following features when editing CSS, LESS and SCSS files:

  • Code completion
  • Hovers
  • Validation: Syntax errors and linting
  • Find definition, references & highlights for symbols in the same file
  • Document Symbols

Linting an be configured through the API. See here for the API that the CSS plugin offers to configure the CSS/LESS/SCSS language support.

Internally the CSS plugin uses the vscode-css-languageservice node module, providing the implementation of the functionally listed above. The same module is also used in Visual Studio Code to power the CSS, LESS and SCSS editing experience.

Issues

Please file issues concering monaco-css in the monaco-editor repository.

Installing

This npm module is bundled and distributed in the monaco-editor npm module.

Development

  • git clone https://github.com/Microsoft/monaco-css
  • cd monaco-css
  • npm install .
  • npm run watch
  • open $/monaco-css/test/index.html in your favorite browser.

License

MIT