Treat Xamarin .workbook files as markdown#3500
Merged
lildude merged 2 commits intogithub-linguist:masterfrom Apr 20, 2017
Merged
Treat Xamarin .workbook files as markdown#3500lildude merged 2 commits intogithub-linguist:masterfrom
lildude merged 2 commits intogithub-linguist:masterfrom
Conversation
Contributor
Author
|
Oh, I see that samples are required now. I will add one. (EDIT: Done) |
Contributor
Author
|
I do not believe the Travis build issues have anything to do with my commit? |
Member
@sandyarmstrong nope, doesn't look like it. Can you please merge in master and we'll see how things play out. |
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
4823cf2 to
3d31d3d
Compare
Contributor
Author
|
@lildude rebased on latest master. Looks like the build passed! |
lildude
approved these changes
Apr 20, 2017
Contributor
Author
|
Thanks! Any idea when this will hit github.com? |
Member
|
When I build the next release gem and create & merge the PR that updates github.com 😁. I've merged in quite a few things today and am waiting on a few nudges, so it'll probably be early next week before I even start. One thing is for sure: it'll be before 9 May. |
sandyarmstrong
added a commit
to sandyarmstrong/vscode
that referenced
this pull request
Jun 5, 2018
Xamarin Workbooks are interactive coding documents that are saved as straight-forward markdown files with a YAML front matter header block. Here is a sample: https://github.com/xamarin/Workbooks/blob/master/csharp/csharp6/csharp6.workbook Github has been treating them as markdown files for over a year now (github-linguist/linguist#3500).
mjbvz
pushed a commit
to microsoft/vscode
that referenced
this pull request
Jul 18, 2018
Xamarin Workbooks are interactive coding documents that are saved as straight-forward markdown files with a YAML front matter header block. Here is a sample: https://github.com/xamarin/Workbooks/blob/master/csharp/csharp6/csharp6.workbook Github has been treating them as markdown files for over a year now (github-linguist/linguist#3500).
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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
csharpfenced 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
They are becoming increasingly popular as teaching documents. There are a few hundred already in GitHub today: https://github.com/search?utf8=%E2%9C%93&q=extension%3Aworkbook+NOT+nothack&type=Code&ref=searchresults .