/ArduinoCodePrettyWord

Word VBA Macro that formats the code according to the colors in Arduino based on the keywords contained in the standard library set.

Primary LanguageVisual Basic

ArduinoCodePrettyWord

Word VBA Macro that formats the code according to the colors in Arduino based on the keywords contained in the standard library set.

Files contained in this repo:

  • blankTemplateNSArduino.docm - No Starch Press writing template and style guide. Has the macros built-in. Simply highlight the text you wish to convert, and the macro script will automatically search and stylize the keywords, functions, constants, and data types accordingly.
  • NoStarchArduino.bas - raw VBA module for the No Starch Press style guide macros
  • ArduinoCodePretty.docm - Example changes the font to Courier New and modifies the color to match the exact HEX codes used in Arduiono. This does not change the style of the text, but simply the font and the font coolor.
  • ArduinoCodePretty.bas - raw VBA module for the ArduinoCodePretty macros.