autoit script syntax highlighter demo
Step 1: Install plugin SyntaxHighlighter Evolved http://wordpress.org/extend/plugins/syntaxhighlighter/
Step 2: Download Autoit brush
https://www.mediafire.com/file/wvi54xebkqdde78/SyntaxHighlighterForAutoIt.zip/file
Step 3: Upload it to folder: /public_html/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3
Step 4: Edit file: /public_html/wp-content/plugins/syntaxhighlighter/syntaxhighlighter.php
+ Find code (line 104 + 105):
[php]
// Register brush scripts
wp_register_script( ‘syntaxhighlighter-core’, plugins_url(‘syntaxhighlighter/’ . $this->shfolder . ‘/scripts/shCore.js’), array(), $this->agshver );
[/php]
add this code after:
[php]
wp_register_script( ‘syntaxhighlighter-brush-autoit’, plugins_url(‘syntaxhighlighter/’ . $this->shfolder . ‘/scripts/shBrushAutoIt.js’), array(‘syntaxhighlighter-core’), $this->agshver );
[/php]
+ Find code (line 149 + 150)
[php]
$this->brushes = (array) apply_filters( ‘syntaxhighlighter_brushes’, array(
‘as3’ => ‘as3’,
[/php]
add this code after:
[php]
‘au3’ => ‘autoit’,
[/php]
Use short code
{au3}your autoit script code{/au3} (replace {} = [])
in your post. End!
Sao Chép Dữ Liệu Từ Google Sheets Chỉ Xem: Hướng Dẫn Chi Tiết Bạn đang…
Để sử dụng tính năng nhập liệu giọng nói tiếng Việt (Windows + H) đồng…
Bạn có bao giờ muốn "hỏi" trí tuệ nhân tạo trực tiếp từ bảng tính…
Lâu nay do một số vấn đề cá nhân nên admin không còn cập nhật…
Năm 2013 đã đến, và Adobe quyết định tung ra một chương trình khuyến mãi…
Age Of Empires 1 Setup by Microsoft Studios Published October 15, 1997 Usage CC0 1.0…