Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
add support for reStructuredText
Browse files Browse the repository at this point in the history
  • Loading branch information
qwefgh90 committed Dec 30, 2019
1 parent 3b60020 commit c1c7d4b
Show file tree
Hide file tree
Showing 4 changed files with 676 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/monaco.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ import './typescript/typescript.contribution';
import './vb/vb.contribution';
import './xml/xml.contribution';
import './yaml/yaml.contribution';
import './rst/restructuredtext.contribution';
14 changes: 14 additions & 0 deletions src/rst/restructuredtext.contribution.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';

import { registerLanguage } from '../_.contribution';

registerLanguage({
id: 'restructuredtext',
extensions: ['.rst'],
aliases: ['reStructuredText', 'restructuredtext'],
loader: () => import('./restructuredtext')
});

0 comments on commit c1c7d4b

Please sign in to comment.