-
Notifications
You must be signed in to change notification settings - Fork 2.4k
add unibit 🎉 #2141
New issue
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
Merged
add unibit 🎉 #2141
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import Template from './template'; | ||
| import { decorateSelector } from '../theme'; | ||
|
|
||
| export default new Template( | ||
| 'unibit', | ||
| 'Unibit', | ||
| 'https://www.stackbit.com', | ||
| 'github/smnh/universal/tree/master/', | ||
| decorateSelector(() => '#3EB0FD'), | ||
| { | ||
| distDir: 'public', | ||
| isServer: true, | ||
| popular: true, | ||
| mainFile: ['README.md'], | ||
| showOnHomePage: true, | ||
| main: false, | ||
| showCube: false, | ||
| } | ||
| ); |
2 changes: 1 addition & 1 deletion
2
standalone-packages/vscode-extensions/out/extensions/index.json
Large diffs are not rendered by default.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
standalone-packages/vscode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/.vsixmanifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> | ||
| <Metadata> | ||
| <Identity Language="en-US" Id="nunjucks" Version="0.2.3" Publisher="ronnidc"/> | ||
| <DisplayName>Nunjucks</DisplayName> | ||
| <Description xml:space="preserve">A Nunjucks syntax definition</Description> | ||
| <Tags>nunjucks,Nunjucks,__ext_.nunjucks,__ext_.nunjs,__ext_.nunj,__ext_.nj,__ext_.njk,__ext_.html,__ext_.htm,__ext_template,__ext_.tmpl,__ext_.tpl</Tags> | ||
| <Categories>Languages</Categories> | ||
| <GalleryFlags>Public</GalleryFlags> | ||
| <Badges></Badges> | ||
| <Properties> | ||
|
|
||
| <Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/ronnidc/vscode-nunjucks" /> | ||
| <Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/ronnidc/vscode-nunjucks" /> | ||
|
|
||
| <Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/ronnidc/vscode-nunjucks" /> | ||
|
|
||
|
|
||
| <Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/ronnidc/vscode-nunjucks/issues" /> | ||
|
|
||
| <Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#203510" /> | ||
| <Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" /> | ||
| </Properties> | ||
|
|
||
| <Icon>extension/images/nunjucksIcon.png</Icon> | ||
| </Metadata> | ||
| <Installation> | ||
| <InstallationTarget Id="Microsoft.VisualStudio.Code"/> | ||
| </Installation> | ||
| <Dependencies/> | ||
| <Assets> | ||
| <Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" /> | ||
| <Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/images/nunjucksIcon.png" Addressable="true" /> | ||
| </Assets> | ||
| </PackageManifest> |
48 changes: 48 additions & 0 deletions
48
...lone-packages/vscode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # Nunjucks for Visual Studio Code | ||
| Nunjucks template syntax definition specifically for **Microsoft Visual Studio Code**. | ||
|
|
||
| ``` | ||
| >ext install extension nunjucks | ||
| ``` | ||
| ## vscode-nunjucks support these file extensions | ||
| ``` | ||
| .nunjucks, .nunjs, .nj, .njk, .html, .htm, .template, .tmpl, .tpl | ||
| ``` | ||
|
|
||
| ### Although you are free to use any file extension you wish for your Nunjucks template files, the Nunjucks community has adopted `.njk` | ||
| <br /> | ||
| <br /> | ||
|
|
||
| ## Install Nunjucks from Visual Studio Code *(recomended method)* | ||
| To install the [Nunjucks extension](https://marketplace.visualstudio.com/items/ronnidc.nunjucks) directly from Visual Studio Code you need to proceed with theese four simple steps: | ||
|
|
||
| 1. Go to *View > Command Palette* (Mac OSX: `cmd+shift+P`, Windows: `ctrl+shift+P`) | ||
| 2. Run the following command in the Command Palette field: `>ext install extension` and hit enter. | ||
| 3. Then type `nunjucks` and hit enter. | ||
| 4. After instalation is complete restart the Code app and you are all set up for start writing Nunjucks templates in Visual Studio Code. | ||
|
|
||
|  | ||
|
|
||
| ## Or install the Nunjucks extension for Visual Studio Code manually | ||
| To install Nunjucks manually for Visual Studio Code you need to proceed with theese five steps: | ||
|
|
||
| 1. Download this [vscode-nunjucks](https://github.com/ronnidc/vscode-nunjucks) repo from GitHub | ||
| 2. Navigate to the `<user home>/.vscode/extensions` directory on your computer. | ||
| 3. Create a new folder and name it `nunjucks` | ||
| 4. Copy all content of this repository into the `<user home>/.vscode/extensions/nunjucks` directory. | ||
| 5. Restart the Code app and you are all set up for start writing Nunjucks templates in Code. | ||
|
|
||
|  | ||
|
|
||
| ## What's in the folder | ||
| * This folder contains all of the files necessary for the vscode-nunjucks extension | ||
| * `package.json` - this is the manifest file in which the language support is declared and the location of the grammar file that has been copied into the extension is defined. | ||
| * `syntaxes/nunjucks.tmLanguage` - this is the Text mate grammar file that is used for tokenization | ||
| * `nunjucks.configuration.json` - this the language configuration, defining the tokens that are used for comments and brackets. | ||
|
|
||
| ### For more information | ||
| * [Visual Studio Code Docs](https://code.visualstudio.com/docs) | ||
| * [Nunjucks by Mozilla](https://mozilla.github.io/nunjucks/) | ||
|
|
||
| ### Credits | ||
| This extension is based on the [Sublime-nunjucks](https://github.com/mogga/sublime-nunjucks) language file. |
Binary file added
BIN
+2.75 KB
...vscode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/images/nunjucksIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.68 KB
...ut/extensions/ronnidc.nunjucks-0.2.3/images/vscode-command-palette-nunjucks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.7 KB
...ode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/images/vscode-nunjucks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
...kages/vscode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/nunjucks.configuration.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "comments": { | ||
| // symbol used for single line comment. Remove this entry if your language does not support line comments | ||
| //"lineComment": "{#", | ||
| // symbols used for start and end a block comment. Remove this entry if your language does not support block comments | ||
| "blockComment": [ "{#", "#}" ] | ||
| }, | ||
| // symbols used as brackets | ||
| "brackets": [ | ||
| ["{", "}"], | ||
| ["[", "]"], | ||
| ["(", ")"] | ||
| ] | ||
| } |
61 changes: 61 additions & 0 deletions
61
standalone-packages/vscode-extensions/out/extensions/ronnidc.nunjucks-0.2.3/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| { | ||
| "name": "nunjucks", | ||
| "displayName": "Nunjucks", | ||
| "description": "A Nunjucks syntax definition", | ||
| "icon": "images/nunjucksIcon.png", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/ronnidc/vscode-nunjucks" | ||
| }, | ||
| "galleryBanner": { | ||
| "color": "#203510", | ||
| "theme": "dark" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/ronnidc/vscode-nunjucks/issues" | ||
| }, | ||
| "version": "0.2.3", | ||
| "publisher": "ronnidc", | ||
| "engines": { | ||
| "vscode": "^0.10.1" | ||
| }, | ||
| "categories": [ | ||
| "Languages" | ||
| ], | ||
| "contributes": { | ||
| "languages": [ | ||
| { | ||
| "id": "nunjucks", | ||
| "aliases": [ | ||
| "Nunjucks", | ||
| "nunjucks" | ||
| ], | ||
| "extensions": [ | ||
| ".nunjucks", | ||
| ".nunjs", | ||
| ".nunj", | ||
| ".nj", | ||
| ".njk", | ||
| ".html", | ||
| ".htm", | ||
| "template", | ||
| ".tmpl", | ||
| ".tpl" | ||
| ], | ||
| "configuration": "./nunjucks.configuration.json" | ||
| } | ||
| ], | ||
| "grammars": [ | ||
| { | ||
| "language": "nunjucks", | ||
| "scopeName": "text.html.nunjucks", | ||
| "path": "./syntaxes/nunjucks.tmLanguage" | ||
| } | ||
| ] | ||
| }, | ||
| "__metadata": { | ||
| "id": "2a3e1925-d174-4cd7-baa7-3e13824d68c7", | ||
| "publisherId": "4ac833f3-e61a-47fc-ae7d-c14a86f2ca03", | ||
| "publisherDisplayName": "ronnidc" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.