Skip to content

Commit

Permalink
Added Atom package to the static site
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsManta authored and Anantachai Saothong (Manta) committed May 3, 2017
1 parent 7c76e98 commit 118416e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<a href="#options">Formatting options</a>
<a href="#stylint">Stylint compatibility</a>
<a href="#vscode">Visual Studio Code extension</a>
<a href="#atom">Atom package</a>
<a id="history" href="https://github.com/ThisIsManta/stylus-supremacy/releases">Release notes</a>
<a id="issues" href="https://github.com/ThisIsManta/stylus-supremacy/issues">Issues</a>
<a id="repository" class="nofx" href="https://github.com/ThisIsManta/stylus-supremacy" title="View source code on GitHub"><img src="octocat.png"></a>
Expand Down Expand Up @@ -375,7 +376,7 @@ <h1>Stylint compatibility</h1>
<article id="vscode">
<h1>Visual Studio Code extension</h1>

<p>Currently, <b>Stylus Supremacy</b> is only available in Visual Studio Code as an extension. To install the extension, follow the instruction video below.</p>
<p><b>Stylus Supremacy</b> is available in Visual Studio Code as an extension. To install the extension, follow the instruction video below.</p>

<img src="vscode.gif">

Expand All @@ -389,6 +390,17 @@ <h1>Visual Studio Code extension</h1>

<p>In case you are using <a href="https://marketplace.visualstudio.com/items?itemName=vtfn.stylint" target="_blank">Stylint</a> as a Stylus linter, the extension automatically searches for <mark class="alt">.stylintrc</mark> file starting from the current active file directory up to the root working directory, and merges it with the Visual Studio Code settings. The settings in Visual Studio Code will be used as a base, and overridden by <mark class="alt">.stylintrc</mark> file. Please see <a href="#stylint-rules">Stylint compatibility</a> section for the rule conversion.</p>
</article>
<article id="atom">
<h1>Atom package</h1>

<p>Thanks to <a href="https://github.com/dekdekbaloo/atom-stylus-supremacy" target="_blank">dekdekbaloo</a>, <b>Stylus Supremacy</b> is now available as an Atom package. To install the package, follow the instruction video below.</p>

<img src="atom.gif">

<p>Once you have this package installed on your Atom, you can simply open a Stylus file, right click on the document editing space, then choose <mark class="nobr">Format Stylus</mark> command, or press Control+Shift+P on your keyboard and run "Fix File" command.</p>

<p>Currently, this package only supports reading rules from <mark class="alt">.stylintrc</mark> file and in-package <mark>Fix on Save</mark> setting.</p>
</article>
</main>
</body>
</html>

0 comments on commit 118416e

Please sign in to comment.