mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 17:23:40 -05:00
Fix cell attachment types (#14485)
This commit is contained in:
@@ -264,7 +264,7 @@ export class NotebookMarkdownRenderer {
|
||||
* In a cell, the above attachment would be referenced in markdown like this:
|
||||
* 
|
||||
*/
|
||||
function findAttachmentIfExists(href: string, cellAttachments: nb.ICellAttachment): string {
|
||||
function findAttachmentIfExists(href: string, cellAttachments: nb.ICellAttachments): string {
|
||||
if (href.startsWith('attachment:') && cellAttachments) {
|
||||
const imageName = href.replace('attachment:', '');
|
||||
const imageDefinition = cellAttachments[imageName];
|
||||
|
||||
Reference in New Issue
Block a user