amnemonic / dokuprism Goto Github PK
View Code? Open in Web Editor NEWSyntax highlighting of source code snippets in DokuWiki page using PRISM engine
Syntax highlighting of source code snippets in DokuWiki page using PRISM engine
I'm getting many warnings, is this normal? I'm on php 8
E_WARNING: Undefined variable $language
/var/www/dokuwiki/lib/plugins/dokuprism/syntax/code.php(64)
#0 /var/www/dokuwiki/lib/plugins/dokuprism/syntax/code.php(64): dokuwiki\ErrorHandler::errorHandler()
#1 /var/www/dokuwiki/inc/parser/renderer.php(119): syntax_plugin_dokuprism_code->render()
#2 /var/www/dokuwiki/inc/parserutils.php(700): Doku_Renderer->plugin()
#3 /var/www/dokuwiki/inc/parserutils.php(158): p_render()
#4 /var/www/dokuwiki/inc/parserutils.php(96): p_cached_output()
#5 /var/www/dokuwiki/inc/Ui/PageView.php(68): p_wiki_xhtml()
#6 /var/www/dokuwiki/inc/Action/Show.php(37): dokuwiki\Ui\PageView->show()
#7 /var/www/dokuwiki/inc/template.php(100): dokuwiki\Action\Show->tplContent()
#8 [internal function]: tpl_content_core()
#9 /var/www/dokuwiki/inc/Extension/Event.php(133): call_user_func_array()
#10 /var/www/dokuwiki/inc/Extension/Event.php(199): dokuwiki\Extension\Event->trigger()
#11 /var/www/dokuwiki/inc/template.php(85): dokuwiki\Extension\Event::createAndTrigger()
#12 /var/www/dokuwiki/lib/tpl/dokuwiki/main.php(59): tpl_content()
#13 /var/www/dokuwiki/inc/actions.php(27): include('...')
#14 /var/www/dokuwiki/doku.php(126): act_dispatch()
#15 {main}
Nice Plugin! But: tried to configure languages_list, first in Dokuwiki Configurationmanager and then in ~/dokuwiki/lib/plugins/dokuprism/conf/default.php. Both attempts failed. It's probably caused by the quite old dokuwiki-version (2017-02-19b "Frusterick Manners" with php5.6.4) that I am using.
It's good that we can use prism plugin in Dokuwiki. Thanks for this great library. But it would be better if we have some options like changing the theme and font size.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.