Treat Xamarin .workbook files as markdown (#3500)

* Treat Xamarin .workbook files as markdown

Xamarin Workbook files are interactive coding documents for C#, serialized as
markdown files. They include a YAML front matter header block with some
metadata. Interactive code cells are included as `csharp` fenced code blocks.

An example can be found here:
https://github.com/xamarin/Workbooks/blob/master/csharp/csharp6/csharp6.workbook

Treated as markdown, it would appear like so:
https://gist.github.com/sandyarmstrong/e331dfeaf89cbce89043a1c31faa1297

* Add .workbook sample

Source: https://github.com/xamarin/Workbooks/blob/master/csharp/csharp6/csharp6.workbook
This commit is contained in:
Sandy Armstrong
2017-04-20 07:29:17 -07:00
committed by Colin Seymour
parent c98ca20076
commit 7aeeb82d3d
2 changed files with 193 additions and 0 deletions

View File

@@ -2472,6 +2472,7 @@ Markdown:
- ".mkdn"
- ".mkdown"
- ".ron"
- ".workbook"
tm_scope: source.gfm
language_id: 222
Marko: