It is possible to add a code highlight button in this panel?
sharonyue
Posts
-
Add code highlight button? -
[nodebb-plugin-ns-awards] NS Awards, Give Medals!In
node_modules/nodebb-theme-persona/templates/account/profile.tpl
,I paste it there.. does not work? -
markdown code highlight theme does not work?@KnickKnack said in markdown code highlight theme does not work?:
Automatically detect and highlight code blocks
It does works. Thank you.
-
markdown code highlight theme does not work?Anyone run into this problem? I re-install markdown and upgrade nodebb to 1.9.3. The highlight style does not working.
-
markdown code highlight theme does not work?After I upgrade to v1.9.0, the markdown code highlight theme does not work? No matter which theme I choose in the ACP, it is all the same. I do rebuild and restart the nodebb after I save the settings.
-
Is it possible to show another group label ?I test it by v1.9.1, looks great!
By the way, it is possible to switch the label's sequence?
-
katex plugin problemAnother way is to put the following into your custom header:
<script type="text/x-mathjax-config"> MathJax.Hub.Config ({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], skipTags: ["<pre>","<span>"] }, TeX: {equationNumbers: {autoNumber: "AMS"}, extensions: ["color.js"], Macros: {ra: "{\\rm a}", rb: "{\\rm b}", rgh: "{\\rm rgh}", rD: "{\\rm D}", cell: "{\\rm cell}", drag: "{\\rm drag}", lift: "{\\rm lift}", rd: "{\\rm d}", Kd: "{\\rm Kd}", rc: "{\\rm c}",rN: "{\\rm N}",tr: "{\\rm tr}",dev: "{\\rm dev}",mag: "{\\rm mag}",max: "{\\rm max}",min: "{\\rm min}",exp: "{\\rm exp}", rq: "{\\rm q}", rE: "{\\rm E}", dpm: "{\\rm dpm}", rT: "{\\rm T}",rP: "{\\rm P}", rW: "{\\rm W}", bfU: "{\\bf U}", bfHbyA: "{\\bf HbyA}", bfS: "{\\bf S}", bfg: "{\\bf g}", bfh: "{\\bf h}", bfT: "{\\bf T}", bfV: "{\\bf V}", bfd: "{\\bf d}", bfI: "{\\bf I}", bfK: "{\\bf K}", bfA: "{\\bf A}", bfn: "{\\bf n}", bfR: "{\\bf R}", bfM: "{\\bf M}", bfx: "{\\bf x}",bfF: "{\\bf F}", p: "{\\partial}" } } } ); </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> <script> $(window).on('action:posts.loaded action:ajaxify.end', function () { MathJax.Hub.Queue(["Typeset", MathJax.Hub, "content"]); }); </script>
then you can use MathJax.
-
What's New in v1.9.0Thanks for the effort!
-
where is v1.8.2?@giggiux
I dont think so. v1.8.x is different with v1.8.2 Not sure what my issue is. I just keep it to be v1.7.4 now. -
where is v1.8.2?When I want to upgrade to v1.8.2, it says
-
mobile app@gremek
How is it going, bro? -
mobile app@gremek
Thank you. I found the many users of my site are using Android to log in. -
mobile appIm still wondering if any had tried that mobile APP. I see a booming and fast transfer of users from internet to mobile APP.
-
Dynamic rendering of math equations supportAny idea how to achieve this by CSS or script in nodebb ACP?
link :https://www.tuhh.de/MathJax/test/sample-dynamic.html
you can easily check the source code of it, here I copy it in below
<!DOCTYPE html> <html> <head> <title>MathJax Dynamic Math Test Page</title> <!-- Copyright (c) 2010-2015 The MathJax Consortium --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <script type="text/javascript" src="../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <style> input {margin-top: .7em} .output { border: 1px solid black; padding: 1em; width: auto; position: absolute; top: 0; left: 2em; min-width: 20em; } .box {position: relative} </style> </head> <body> <script> // // Use a closure to hide the local variables from the // global namespace // (function () { var QUEUE = MathJax.Hub.queue; // shorthand for the queue var math = null, box = null; // the element jax for the math output, and the box it's in // // Hide and show the box (so it doesn't flicker as much) // var HIDEBOX = function () {box.style.visibility = "hidden"} var SHOWBOX = function () {box.style.visibility = "visible"} // // Get the element jax when MathJax has produced it. // QUEUE.Push(function () { math = MathJax.Hub.getAllJax("MathOutput")[0]; box = document.getElementById("box"); SHOWBOX(); // box is initially hidden so the braces don't show }); // // The onchange event handler that typesets the math entered // by the user. Hide the box, then typeset, then show it again // so we don't see a flash as the math is cleared and replaced. // window.UpdateMath = function (TeX) { QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX); } })(); </script> <p> Type some \(\rm\TeX\) code and press RETURN:<br /> <input id="MathInput" size="80" onchange="UpdateMath(this.value)" /> </p> <p>You typed:</p> <div class="box" id="box" style="visibility:hidden"> <div id="MathOutput" class="output">$${}$$</div> </div> <script> // // IE doesn't fire onchange events for RETURN, so // use onkeypress to do a blur (and refocus) to // force the onchange to occur // if (MathJax.Hub.Browser.isMSIE) { MathInput.onkeypress = function () { if (window.event && window.event.keyCode === 13) {this.blur(); this.focus()} } } </script> </body> </html>
-
Member Points/Reputation trading systemHello guys,
I run my site for 2.5 years, and the user's number was increasing gradually. However, I feel something still needs to be done.
For example, in my site, after the user registered, they would post a thread to ask some mathematical problem. Most of the time I will answer it. Then the user just leave. This end up with a kind of personal site: they ask questions, then I reply. This is my site's situation. But what I really want is a forum: they ask questions, then they reply. Two main reasons of such situation might be that
- they dont know the answer.
- they dont want to answer.
A member points/Reputation trade system might be a good solution, as least to handle the item 2. In this system, you can
- gain member points/Reputation by posting;
- gain member points/Reputation by online time;
- get paid member points/Reputation by answering other's thread;
- pay member points/Reputation to others who answer your questions, the more you paid, the more comprehensive answer you can get;
- get honor pedal once your points/Reputation reach to certain level;
- have other rights once your points/Reputation reach to certain level;
- ...
In face, it looks like the
reputation
system in the nodebb. To achieve this, one possible way is- either to improve the
reputation
system comprehensively. Right now it only increases +1 by upvoting, decreases -1 by downvoting. In this plugin, it adds another way by posting. - or to build another member points/Reputation system in the nodebb
I believe such member points/Reputation trade system would boost the user's impulse to interact more with other users. What do you think?
Thanks for effort of nodebb team!
-
Is it possible to show another group label ?@baris
Thank you! Can't wait to see! -
Is it possible to show another group label ?Any ideas?
-
Limit change usernameYes. I am wondering as well. If the user change their name frequently, pretty messed up :
-
[nodebb-plugin-ns-awards] NS Awards, Give Medals!@Nicolas Thank you for your work!
Does it work for nodebb 1.7.4? This plugin looks impressive! and is it possible to add the award as follows (below the user's image)?
-
Is it possible to show another group label ?Thank you. Well, I mean is it possible to show multiple group badge? e.g., your badge is
GNU/Linux
,it is possible to show another one at the same time?Sometime my user has multiple group badges, such as
translator
as well askeyboardLeader