diff options
author | Olaf Otto | 2016-04-28 13:37:15 +0000 |
---|---|---|
committer | Olaf Otto | 2016-04-28 13:37:15 +0000 |
commit | 5e8b643cefdeffce4261c26c4968cde8c8e02b50 (patch) | |
tree | a55ac48235d9d9cbe82318266458ad1d8315814b | |
parent | b6aeaaa27ba0959a90b55dc661d946d544b51438 (diff) | |
download | blueprint-5e8b643cefdeffce4261c26c4968cde8c8e02b50.tar.gz blueprint-5e8b643cefdeffce4261c26c4968cde8c8e02b50.tar.xz blueprint-5e8b643cefdeffce4261c26c4968cde8c8e02b50.zip |
- Release 2.0.0
Added code highlighting capabilities
-rwxr-xr-x | index.php | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -26,6 +26,15 @@ // # Paste your HTML content between the EOHTML markers! $html = file_get_contents('home/_index.html'); + $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="//eclipse.org/orion/editor/releases/5.0/built-editor.css"/>'); + $App->AddExtraHtmlHeader('<script src="//eclipse.org/orion/editor/releases/5.0/built-editor.min.js"></script>'); + $App->AddExtraHtmlHeader('<script> + /*global require*/ + require(["orion/editor/edit"], function(edit) { + edit({className: "editor"}); + }); + </script>'); + # Generate the web page $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |