-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Arduino Brush #136
Added Arduino Brush #136
Conversation
Updated original Arduino Brush for SyntaxHighlighter Evolved compatibility. Added brush to scripts folder. Added brush to syntaxhighlighter.php.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Siytek, one minor change. Other than that it looks good.
,{ regex: /\b0x[0-9A-Fa-f]+[uU]?[lL]?\b/gm, css: 'constants'} // numeric constants (hexidecimal) | ||
,{ regex: /\bB[01]{1,8}\b/gm, css: 'constants'} // numeric constants (binary) | ||
,{ regex: /\+|\-|\*|\/|\%|!|\||\&|=|\?|\^|~/gm, css: 'plain bold' } // operators | ||
//,{ regex: /\b(?:\w+?(?=\(.*?\)\W))/gm, css: 'plain italic'} // Other functions/macros (i.e. user-defined) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this commented out line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing :) line now removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution @Siytek! This will be included in the next release.
Updated the Arduino Brush by carlynorama and added the brush to the scripts folder. Added the brush to
syntaxhighlighter.php
.Example @ https://siytek.com/communication-between-two-esp8266/