![]() Unfortunately, the only formatting option is font-size. ![]() There are however, clearly some drawbacks to Code Pretty. After a super-easy Chrome install, I was fortunately able to format code blocks quickly and easily. Link for Online syntax highlighter like TextMate: OPTION # 2: Code PrettyĬode Pretty is not bad. There are about 20 different themes to choose from. For example, an example of formatted code generated with the Online syntax highlighter like TextMate tool is to the left. The final impressive feature is the “Style” drop-down. Copy and paste this formatted text into a Google Docs document. You wind up with two things: raw HTML and formatted text. Just paste your code snippet in, choose from one of the many supported languages, then click the “Highlight” button. But here is the thing: this tool is actually pretty awesome. It is interestingly un-styled and bare-bones. There is an odd little tool called: “ Online syntax highlighter like TextMate.” At first glance, this page might appear incomplete, if not broken. OPTION # 1: Online syntax highlighter like TextMate It turns out that there are two tools available: “Code Pretty,” and “Online syntax highlighter like TextMate.” ![]() Finally, it occurred to me that this must be a common challenge. At first I made a very bad assumption that there was no way for formatting code in a Google Document, so I started out using images of code samples. I recently worked on a project for a client that required adding JavaScript code samples to the documentation. ![]() If you are formatting code samples for your Google Docs document, there is an odd little tool that you might find quite helpful. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |