Skip to content

Commit

Permalink
Update readme file and add superfluous visual
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis committed Nov 25, 2015
1 parent 398aa5b commit 61863a6
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
69 changes: 68 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
# MAXScript language support in Atom

Adds syntax highlighting to MAXScript files in Atom.
This package adds support for [MAXScript](http://www.autodesk.com/3dsmax-maxscript-2012-enu), the built-in scripting language for [Autodesk® 3ds Max®](http://www.autodesk.com.au/products/3ds-max/overview). If you have no idea what either of those are, you needn't bother installing this.

![Up and Atom](preview.png)


Contributing
------------
This was more work than I thought it would be, so if anything appears even remotely whack, *please* [file an issue](https://github.com/Alhadis/language-maxscript/issues/new). Seriously.


Usage
-----
Some users might wish to replicate the same look-and-feel of 3DS Max's built-in editor. In which case, they can use [this](mxs-scintilla.less) as a starting-point:


```less
/** MAXScript: MXS_Scintilla clone */
.maxscript{

.comment{
color: #007f00;
}

.numeric{
color: #007f7f;
}

.string{
color: #7f007f;

&.verbatim{
color: #007f00;
background-color: #e0ffe0;
}

&.invalid{
color: #000;
background-color: #e0c0e0;
}
}

.operator{
color: #000;
font-weight: bold;
}

.function{
color: #3060a0;
}

.keyword,
.storage.type.function,
.storage.modifier.function{
color: #00007f;
font-weight: bold;
}

.rollout-control{
color: #000;
font-weight: bold;
}

.objectset{
color: #d0b080;
font-style: italic;
}
}
```
Binary file added preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 61863a6

Please sign in to comment.