wpDiscuz – Syntax Highlighter

wpDiscuz Syntax Highlighter addon displays formatted source code using the highlight.js JavaScript library in comment content. This addon supports almost all programming languages including Apache, Bash, C#, C++, CSS, HTML, XML, JSON, Java, JavaScript, Objective-C, PHP, Perl, Python, Ruby, SQL, Basic, Delphi, Erlang, Matlab, Prolog, ScalaScheme, Swift, TypeScript, VB.NET, Shell with dozens of different syntax highlighting styles. With this addons your commenters can insert different scripts and codes using the [</>] code toolbar button in comment editor. In the dashboard settings you can enable/disable certain programming language and change the highlighting style.

4.7 7 votes
Article Rating
Subscribe
Notify of
guest
65 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Sibelle
Sibelle
25 days ago

Seu artigo me ajudou muito, tem mais algum conteúdo relacionado? Obrigado! baixar anydesk gratuito

mKA
mKA
1 month ago
print 
mKA
mKA
1 month ago

print(“Hello”)

zqqdz
zqqdz
1 month ago
print('hello')
aaaaa
aaaaa
2 months ago
input("Ingrese un número:")
SDfrrr
SDfrrr
7 months ago
ererwre
erer
wewewe
jUan
jUan
7 months ago
function my_wpdiscuz_shortcode() {
    $html = "";
    if (file_exists(ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php")) {
        ob_start();
        include ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php";
        $html = ob_get_clean();
    }
    return $html;
}
add_shortcode("wpdiscuz_comments", "my_wpdiscuz_shortcode");
ccc
ccc
8 months ago

dd

dddd
vvvvv

ccc
ccc
8 months ago

ssa
sdddd

revre
revre
11 months ago
revre
revre
11 months ago

wpDiscuz – Syntax Highlighter

Abra Geka
Abra Geka
1 year ago
<div style='position: relative; max-width: 745px;height: 419px;'><iframe style='position: absolute;  width: 100%; height: 100%; left: 0; top: 0;' src='https://killerplayer.com/new/video/df88a28a-f962-4dcb-aa17-730e952353cb' width='745' height='419' frameborder='0' scrolling='no' allowfullscreen></iframe></div>
prueba
prueba
1 year ago

try (PreparedStatement stmt = con.prepareStatement(“SELECT country FROM country”)) { ResultSet rs = stmt.executeQuery(); while (rs.next()) System.out.println (rs.getString(“country”)); } catch (SQLException sqle) { System.out.println(“Error en la ejecución:” + sqle.getErrorCode() + ” ” + sqle.getMessage()); }

prueba
prueba
1 year ago
try (PreparedStatement stmt = con.prepareStatement("SELECT country FROM country")) {
  ResultSet rs = stmt.executeQuery();

  while (rs.next())
    System.out.println (rs.getString("country"));

} catch (SQLException sqle) { 
  System.out.println("Error en la ejecución:" 
    + sqle.getErrorCode() + " " + sqle.getMessage());    
}
Tito Morales
Tito Morales
1 year ago
Reply to  prueba


erere
erere
2 months ago
Reply to  prueba

s<csscw

Last edited 2 months ago by erere
gvectors.com
gvectors.com
1 year ago
System.out.println("text");
momo1a
momo1a
1 year ago
System.out.println("hello");
momo1a
momo1a
1 year ago
hhello
Abd El-Rahman Ayman
Abd El-Rahman Ayman(@se_abdelrahman968)
2 years ago
<?php
$name = "Quincy";
echo "Hi! My name is " . $name . "<br>";
echo "Hi! My name is " . $NAME . "<br>";
echo "Hi! My name is " . $NaMe . "<br>";
?>
Abd El-Rahman Ayman
Abd El-Rahman Ayman(@se_abdelrahman968)
2 years ago

“; echo “Hi! My name is ” . $NAME . ”
“; echo “Hi! My name is ” . $NaMe . ”
“; ?>

asscsa
asscsa
2 years ago
<?php
$name = "Quincy";
echo "Hi! My name is " . $name . "<br>";
echo "Hi! My name is " . $NAME . "<br>";
echo "Hi! My name is " . $NaMe . "<br>";
?>
demo
demo
2 years ago
services:

  wordpress:
    image: wordpress
    restart: unless-stopped
    container_name: wordpress
    environment:
      WORDPRESS_DB_HOST: wordpress-db
      WORDPRESS_DB_USER: exampleuser    ## Hier Benutzer eingeben ##
      WORDPRESS_DB_PASSWORD: examplepass ## Hier Passwort eingeben ##
      WORDPRESS_DB_NAME: wordpress
    volumes:
      - ./app:/var/www/html
test
test
2 years ago

just test

jihanss
jihanss
2 years ago
<?php
$name = "Quincy";
echo "Hi! My name is " . $name . "<br>";
echo "Hi! My name is " . $NAME . "<br>";
echo "Hi! My name is " . $NaMe . "<br>";
?>

test code

sdf
sdf
2 years ago

code block

// ES5 syntax
function Person() {
  // we assign this to self so we can use it later
  var self = this;
  self.age = 0;

  setInterval(function growUp() {
    // self refers to the expected object
    self.age++;
  }, 1000);
}

// ES6 syntax
function Person(){
  this.age = 0;

  setInterval(() => {
    // this now refers to the Person object, brilliant!
    this.age++;
  }, 1000);
}

var p = new Person();

sdf
sdf
2 years ago
// ES5 syntax
function Person() {
  // we assign this to self so we can use it later
  var self = this;
  self.age = 0;

  setInterval(function growUp() {
    // self refers to the expected object
    self.age++;
  }, 1000);
}

// ES6 syntax
function Person(){
  this.age = 0;

  setInterval(() => {
    // this now refers to the Person object, brilliant!
    this.age++;
  }, 1000);
}

var p = new Person();

Chris
Chris
2 years ago
<?php
$var = "hello";
$foo = "world";

echo $var . " " . $foo;
Jacques
Jacques
2 years ago

Essai

Juste pour voir cette mise en forme avec effet en négatif !
Test
Test
2 years ago
.test {
  background: red;
}
Test
Test
2 years ago
const test = 'test';
alexxch
alexxch
2 years ago
chown nobody:nobody connectScript.sh
chmod 755 connectScript.sh

Проверка конфига и перезапуск сервера

openvpn --config openvpn.conf
rc-service openvpn restart
Last edited 2 years ago by alexxch
AdminTest
AdminTest
2 years ago
<div class="wrapp">Test</div>
test
test
3 years ago
void main(void){
}
dddd
dddd
3 years ago

css code test,

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 10px;
  background-color: #2196F3;
  padding: 10px;
}


.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid black;
  text-align: center;
  font-size: 30px;
}
dddd
dddd
3 years ago
Reply to  dddd

.grid-container {
 display: grid;
 grid-template-columns: auto auto auto auto;
}



dddd
dddd
3 years ago
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 10px;
  background-color: #2196F3;
  padding: 10px;
}


.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid black;
  text-align: center;
  font-size: 30px;
}
dddd
dddd
3 years ago
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;

entity HalfAdder is
    Port ( A : in  STD_LOGIC;
           B : in  STD_LOGIC;
           Sum : out  STD_LOGIC;
           Cout : out  STD_LOGIC);
end HalfAdder;

architecture Behavioral of HalfAdder is

begin

Sum <= A xor B;
Cout <= A and B;

end Behavioral;
dddd
dddd
3 years ago
data class User(val name: String, val age: Int)

fun main(args: Array<String>) {
    val jack = User("jack", 29)
    println("name = ${jack.name}")
    println("age = ${jack.age}")
}
dddd
dddd
3 years ago
enum Size {
  SMALL, MEDIUM, LARGE, EXTRALARGE
 }


 class Main {
  public static void main(String[] args) {

    System.out.println("Access each enum constants");

    // use foreach loop to access each value of enum
    for(Size size : Size.values()) {
      System.out.print(size + ", ");
    }
  }
 }
dddd
dddd
3 years ago
<?php
class Car {
    function Car() {
        $this->model = "Tesla";
    }
}


// create an object
$Lightning = new Car();


// show object properties
echo $Lightning->model;
?>
dsdsd
dsdsd
3 years ago
for i in mylist :
  print(i)
nawaraj
nawaraj
3 years ago
#include<stdio.h>

int palindrome(int);

int main() {
  int x,check;
  printf("Enter any number: \n");
  scanf("%d",&x);
  check = palindrome(x);
  if(check==1)
  printf("%d is a palindrome.",x);
  else
  printf("%d is not a palindrome.",x);
  
  return 0;
}

int palindrome(int n) {
  int rev = 0,rem,temp;
  temp=n;
  while(n != 0) {
    rem = n%10;
    rev = rev*10 + rem;
    n/=10;
  }
  if(temp==rev)
  return 1;
  else
  return 2;
}
asdfasfd
asdfasfd
3 years ago
<?php
class Car {
    function Car() {
        $this->model = "Tesla";
    }
}


// create an object
$Lightning = new Car();


// show object properties
echo $Lightning->model;
?>

Lynn
Lynn
3 years ago
<?php
   echo "Hello World";
?>
Higsfd
Higsfd
3 years ago

Check this code

<?php class Car {
  function Car() {
    $this->model = "Tesla";  }}
// create an object
$Lightning = new Car();
// show object properties
echo $Lightning->model; ?>
hbhjj
hbhjj
3 years ago

Hola

Test
Test
3 years ago
<nav id="site-navigation" class="primary-navigation" role="navigation" aria-label="Primary menu">
        <div class="primary-menu-container"><ul id="primary-menu-list" class="menu-wrapper"><li id="menu-item-29" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-29"><a href="#">HYNEWS</a></li>
<li id="menu-item-38" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-27 current_page_item menu-item-38"><a href="http://hylife.hybrid-technologies.vn/" aria-current="page">HYBOX</a></li>
<li id="menu-item-39" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-39"><a href="#">HYLIFE</a></li>
<li id="menu-item-40" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-40"><a href="http://hylife.hybrid-technologies.vn/hylearn/">HYLEARN</a></li>
<li id="menu-item-41" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-41"><a href="#">DOCUMENT</a></li>
</ul></div>    </nav>
Bartosz
Bartosz
3 years ago
<?php
phpinfo();
Juan
Juan
3 years ago
public static String ipAleatoria() {
    StringBuilder sbIP = new StringBuilder();
    for (int x=0; x<3; x++) {
        sbIP.append(String.valueOf(numeroAleatorio())).append(".");
    }
    sbIP.append(String.valueOf(numeroAleatorio()));

    return sbIP.toString();

}
Dima
Dima
3 years ago
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
Dima
Dima
3 years ago

.wrapper {
   display: flex;
   flex-direction: column;
   min-height: 100%;
}

Test
Test
3 years ago
=IF(MOD(IF(MID($D$2,1,1)*2>9,MID($D$2,1,1)*2-9,MID($D$2,1,1)*2)+MID($D$2,2,1)+IF(MID($D$2,3,1)*2>9,MID($D$2,3,1)*2-9,MID($D$2,3,1)*2)+MID($D$2,4,1)+IF(MID($D$2,5,1)*2>9,MID($D$2,5,1)*2-9,MID($D$2,5,1)*2)+MID($D$2,6,1)+IF(MID($D$2,7,1)*2>9,MID($D$2,7,1)*2-9,MID($D$2,7,1)*2)+MID($D$2,8,1)+IF(MID($D$2,9,1)*2>9,MID($D$2,9,1)*2-9,MID($D$2,9,1)*2)+MID($D$2,10,1)+IF(MID($D$2,11,1)*2>9,MID($D$2,11,1)*2-9,MID($D$2,11,1)*2)+MID($D$2,12,1)+IF(MID($D$2,13,1)*2>9,MID($D$2,13,1)*2-9,MID($D$2,13,1)*2)+MID($D$2,14,1)+IF(MID($D$2,15,1)*2>9,MID($D$2,15,1)*2-9,MID($D$2,15,1)*2)+MID($D$2,16,1),10)=0,VLOOKUP(--LEFT($D$2,6),A1:B100,2,0),"NOT OK")