-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.dib metadata support #2259
.dib metadata support #2259
Conversation
d80ec92
to
2661bcc
Compare
@@ -0,0 +1,27 @@ | |||
#!meta | |||
|
|||
{"kernelInfo":{"defaultKernelName":"csharp","items":[{"aliases":["cs","C#","c#"],"name":"csharp"},{"aliases":["fs","F#","f#"],"name":"fsharp"},{"aliases":["powershell"],"name":"pwsh"},{"name":"mermaid"},{"name":"javascript"}]}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we format/indent this? It's kind-of meaningful to human eyes and if/when this changes, the diff will be more manageable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it should work if formatted over multiple lines, but I need to add a test for that.
public string? Language { get; set; } | ||
public string? KernelName { get; set; } | ||
|
||
// FIX: (InteractiveDocumentElement) add this back |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Language won't need to be added back; it can be looked up via the metadata.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean kernel info? The goal here is to not have to spin up the kernel in order to know some of these things.
The bottom of |
This fixes #2184.