Skip to content

Commit 6670259

Browse files
authored
Merge pull request #25 from darkriszty/feature/format-without-filename
Allow formatting without a filename
2 parents b3e6ced + a93673b commit 6670259

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ All notable changes to the `markdowntableprettify` extension will be documented
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8-
### Added
9-
- Issue #15: Support alignment options
8+
### 2.2.0 - 2018-09-26
9+
- Issue #22: Allow formatting without a filename
1010

1111
## 2.1.0 - 2018-09-15
1212
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "markdown-table-prettify",
33
"displayName": "Markdown Table Prettifier",
44
"description": "Transforms markdown tables to be more readable.",
5-
"version": "2.1.0",
5+
"version": "2.2.0",
66
"publisher": "darkriszty",
77
"repository": {
88
"type": "git",

src/extension/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { AlignmentMarkerStrategy } from '../viewModelFactories/alignmentMarking'
1919
// This method is called when the extension is activated.
2020
// The extension is activated the very first time the command is executed.
2121
export function activate(context: vscode.ExtensionContext): void {
22-
const MD_MODE: vscode.DocumentFilter = { language: "markdown", scheme: "file" };
22+
const MD_MODE: vscode.DocumentFilter = { language: "markdown" };
2323

2424
let disposable = vscode.languages.registerDocumentRangeFormattingEditProvider(
2525
MD_MODE, new TableRangePrettyfier(

0 commit comments

Comments
 (0)