We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd4c2b commit cfdc173Copy full SHA for cfdc173
src/components/tools/lively-container.js
@@ -363,6 +363,9 @@ export default class Container extends Morph {
363
if (format == "html") {
364
headers["content-type"] = "text/html" // maybe we can convice the url to return html
365
}
366
+ if (path.match(/gs\:/)) {
367
+ format = "md"
368
+ }
369
370
headers['cache-control'] = 'no-cache'
371
// #deprecated since we now use no-ache
@@ -431,7 +434,6 @@ export default class Container extends Morph {
431
434
this.content = content
432
435
this.showNavbar();
433
436
-
437
if (format == "html" || this.contentType.match("text/html")) {
438
this.sourceContent = content;
439
if (render) return this.appendHtml(content), renderTimeStamp;
0 commit comments