diff --git a/source/_posts/perl.md b/source/_posts/perl.md index 8d74397..8484d92 100644 --- a/source/_posts/perl.md +++ b/source/_posts/perl.md @@ -9,6 +9,7 @@ intro: | The perl quick reference cheat sheet that aims at providing help on writing basic syntax and methods. plugins: - copyCode + - runCode --- ## Getting Started @@ -36,7 +37,9 @@ $make install - Download either 32bit or 64bit version of installation. -- Run the downloaded file by double-clicking it in Windows Explorer. This brings up the Perl install wizard, which is really easy to use. Just accept the default settings, wait until the installation is finished, and you're ready to roll! +- Run the downloaded file by double-clicking it in Windows Explorer. This brings up the Perl install wizard, which is + really easy to use. Just accept the default settings, wait until the installation is finished, and you're ready to + roll! ### Macintosh Installation diff --git a/themes/coo/layout/_partial/scripts.ejs b/themes/coo/layout/_partial/scripts.ejs index ab1cd88..e317e88 100644 --- a/themes/coo/layout/_partial/scripts.ejs +++ b/themes/coo/layout/_partial/scripts.ejs @@ -103,7 +103,7 @@ language = 'typescript'; } - const editorId = ['js', 'javascript', 'typescript', 'python', 'php', 'ruby'].includes(language) + const editorId = ['js', 'javascript', 'typescript', 'python', 'php', 'ruby', 'perl'].includes(language) ? 'script' : ['css', 'scss'].includes(language) ? 'style'