Code Highlight for Blocs

Code Highlight for Blocs

Bric for Blocks App for Mac.

Highlight your code with color easily.

Usage

This bric uses the javascript library highlight.js .

You can customize the CSS style by downloading other styles and changing them in the "Bric constructor" of Blocks.

Warning

- Do not use the HTML code minification function
- Some languages, especially PHP, require an adaptation, as they are automatically interpreted by Blocs

Examples

Python
print('Hello, world!')
Vb.net
Imports System
Module Module1
   Sub Main()

Console.WriteLine("Hello World")

    End Sub
End Module
C++
#include <iostream>
int main() {
    std::cout << "Hello World!";
    return 0;
}
Javascript
 <script type="text/JavaScript">
    alert( 'Hello, world!' );
 </script >
CSS
html, body {
 margin: 0;
 padding: 0;
 }
body {
 background-color: white; 
 font-family: Verdana, sans-serif; 
 font-size: 100%;
 }
PHP
<? php echo '<p>Bonjour le monde</p>'; ? >
Ruby
puts 'Hello, world!'
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
  <title>Hello Page</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
Bash
#!/bin/bash
 
var="Hello World"
echo "$var"
printf "%s\n" "$var"

 macOS

Version 1.0.0

Price : 5.00 €

Buy now !
Buy Me A Coffee
 Support me 

I made the choice to offer you some of my software and other creations for free.

But if you want to support me, you can offer me a coffee by clicking here *.
These donations will be used to finance my various domain names, servers, software licenses.


*With the Buymeacoffee.com platform which accepts payments by credit card, Apple Pay, Google Pay.

About Delimard Software

Who am I ?Contact usLegal noticePrivacy