Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] DVZ Code Tags 1.0.2
#21
can you force your plugin to be left to right ?
Reply
#22
Version 1.0.2:
  • Added blocks-on-page & block code length limit settings to the PrismJS formatter to improve performance
  • Added support for [php] MyCode tags
  • PrismJS updated to 1.16.0

https://community.mybb.com/mods.php?acti...7&bid=3928
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#23
(05-05-2019, 06:23 PM)Devilshakerz Wrote: Version 1.0.2:
  • Added blocks-on-page & block code length limit settings to the PrismJS formatter to improve performance
  • Added support for [php] MyCode tags
  • PrismJS updated to 1.16.0

https://community.mybb.com/mods.php?acti...7&bid=3928

Awesome plugin, thanks for the update!
Reply
#24
Hi @Devilshakerz  no big deal but again i had to change those 2 lines of code inside the ...hooks_frontend.php on line 87 and 88 to make it work properly on my site.  Big Grin
https://github.com/dvz/mybb-dvzCodeTags/...hp#L87-L88

       \dvzCodeTags\getCodeFormatterInstance('block', true),
        \dvzCodeTags\getCodeFormatterInstance('inline', true),
Reply
#25
Is it possible to auto-detect language @Dvz?
Reply
#26
@codedude I am not DVZ, but that sounds hard to implement, possibly buggy, and totally useless. Not worth the time.
Reply
#27
Not difficult at all, every browser sends an info about version and lang
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#28
(06-09-2019, 05:27 AM)Eldenroot Wrote: Not difficult at all, every browser sends an info about version and lang
Then this would be a great addition as people don't like using
[ code=language ]. They are lazy and want [code ][/code ]
instead.
Reply
#29
(06-09-2019, 05:27 AM)Eldenroot Wrote: Not difficult at all, every browser sends an info about version and lang

He means auto-detection of the programming language within the code blocks, not auto-detection of the user's actual language.
Reply
#30
MY mistake, srry Smile
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)