Skip to content
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

Merged
merged 2 commits into from
Apr 30, 2020
Merged

Added Arduino Brush #136

merged 2 commits into from
Apr 30, 2020

Conversation

Siytek
Copy link
Contributor

@Siytek Siytek commented Apr 9, 2020

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/

image

Updated original Arduino Brush for SyntaxHighlighter Evolved compatibility. Added brush to scripts folder. Added brush to syntaxhighlighter.php.
Copy link
Contributor

@gikaragia gikaragia left a 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)
Copy link
Contributor

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?

Copy link
Contributor Author

@Siytek Siytek left a 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

Copy link
Contributor

@gikaragia gikaragia left a 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.

@gikaragia gikaragia merged commit 503e579 into Automattic:master Apr 30, 2020
@alexsanford alexsanford added this to the v3.5.5 milestone Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants