File tree Expand file tree Collapse file tree 9 files changed +49
-2
lines changed
resources/ext.multicodeblock Expand file tree Collapse file tree 9 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " MultiCodeBlock" ,
33 "author" : " QuickWrite" ,
4- "url" : " " ,
4+ "url" : " https://github.com/QuickWrite/MultiCodeBlock " ,
55 "description" : " Creates a codeblock consisting of multiple languages and a special way of commenting the code." ,
66 "version" : " 1.0" ,
77 "license-name" : " Apache-2.0" ,
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * This file is part of MultiCodeBlock.
4+ *
5+ * For the full copyright and license information, please view the LICENSE
6+ * file that was distributed with this source code.
7+ */
8+
29/**
310 * Protect against register_globals vulnerabilities.
411 * This line must be present before any global variable is referenced.
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * This file is part of MultiCodeBlock.
4+ *
5+ * For the full copyright and license information, please view the LICENSE
6+ * file that was distributed with this source code.
7+ */
28
39/**
410 * Saves the code and the language as well as highlights the code.
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * This file is part of MultiCodeBlock.
4+ *
5+ * For the full copyright and license information, please view the LICENSE
6+ * file that was distributed with this source code.
7+ */
8+
29require_once __DIR__ . '/../vendor/autoload.php ' ;
310
411/**
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * This file is part of MultiCodeBlock.
4+ *
5+ * For the full copyright and license information, please view the LICENSE
6+ * file that was distributed with this source code.
7+ */
28
39/**
410 * Saves the Description and the Code Objects
Original file line number Diff line number Diff line change 1+ /**
2+ * This file is part of MultiCodeBlock.
3+ *
4+ * For the full copyright and license information, please view the LICENSE
5+ * file that was distributed with this source code.
6+ */
7+
18.multicodeblock {
29 margin-top : calc (2em + 20px );
310}
Original file line number Diff line number Diff line change 11/*
22
3- Atom One Light by Daniel Gamage
3+ Atom One Light by Daniel Gamage with some minor changes
44Original One Light Syntax theme from https://github.com/atom/one-light-syntax
55
66base: #fafafa
Original file line number Diff line number Diff line change 1+ /**
2+ * This file is part of MultiCodeBlock.
3+ *
4+ * For the full copyright and license information, please view the LICENSE
5+ * file that was distributed with this source code.
6+ */
7+
18.second , .locked {
29 user-select : none;
310}
Original file line number Diff line number Diff line change 1+ /**
2+ * This file is part of MultiCodeBlock.
3+ *
4+ * For the full copyright and license information, please view the LICENSE
5+ * file that was distributed with this source code.
6+ */
7+
18/* Switching between languages */
29const tabButtons = document . getElementsByClassName ( 'tab-button' ) ;
310
You can’t perform that action at this time.
0 commit comments