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 (#77)
Browse files Browse the repository at this point in the history
add support for reStructuredText
  • Loading branch information
alexdima committed Jan 6, 2020
2 parents 3b60020 + 24f923b commit bcd7a10
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
Expand Up @@ -46,6 +46,7 @@ import './r/r.contribution';
import './razor/razor.contribution';
import './redis/redis.contribution';
import './redshift/redshift.contribution';
import './restructuredtext/restructuredtext.contribution';
import './ruby/ruby.contribution';
import './rust/rust.contribution';
import './sb/sb.contribution';
Expand Down
14 changes: 14 additions & 0 deletions src/restructuredtext/restructuredtext.contribution.ts
@@ -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 bcd7a10

Please sign in to comment.