Closed gordonwoodhull closed 9 years ago
Notebook ends up in an inconsistent state where it isn't possible to change the cell. If you try, another cell gets created with the same part number but no extension. This cell is not visible.
https://gist.github.com/gordonwoodhull/3f1e8d54063afc7f724e/c058aec7407aceae0ba15a58192c749d35db13b5
I suggest that the RCloud language extensions should be consulted first, and then only use GitHub only if the file extension is unknown.
I support changing the definition of the current field, even though it's one defined by GitHub Gist. It will not be the first place we're doing this (fork_of
comes to mind), but it does mean we need to define the format somewhere.
Problem with using RMarkdown too using GHE 1.x $content$files$part1.Rmd$filename [1] "part1.Rmd"
$content$files$part1.Rmd$type [1] "text/plain"
$content$files$part1.Rmd$language NULL
Fix contains a little bit of code to allow multiple file extensions for the same language, but this does not work yet because of the same problem as #1166 unsupported languages crashing the notebook - internally we track cells as number + language and don't retain the actual file extension.
@s-u writes: