Backtick

Format code in Google Docs using Markdown-style `backticks`

什麼是Backtick?

Backtick是由Zach Brogan開發的Chrome擴展程式,該擴展的主要功能是“Format code in Google Docs using Markdown-style `backticks`”。

擴展截圖

screenshot
screenshot
screenshot
screenshot

下載Backtick擴展crx文件

下載Backtick擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        > Update Aug 11, 2023:
>
> About a year after this extension first came out, [Google released built-in inline code markdown support for Google Docs](https://workspaceupdates.googleblog.com/2022/12/format-display-code-google-docs.html), rendering this extension obsolete for most use-cases. The extension will remain for those want to continue using it, but I don't intend on making any further updates. To get the built-in inline code and code blocks working via backticks, ensure the Tools -> Preferences -> "Automatically detect Markdown" checkbox is enabled inside Google Docs.

Write inline code inside Google Docs. Just enclose a word or phrase with `backticks` and it will be automatically formatted as inline code.

A great tool for software developers who are used to the feature in Slack, Github, Jira, Markdown files, etc.

# Features
• Auto-format inline code using backticks
• Customizable text color
• Customizable highlight color
• Extension on/off toggle
• Support for multiple Google accounts
• Secure and private. Docs data is processed client-side.

# Planned Features:
• Add multi-line code blocks using markdown-style triple backtick syntax. Ex)
```javascript
console.log('hello!`)
```
• Syntax highlighting in multiple programming languages for code blocks
• Theme choices for code blocks

# Technical Limitations
Due to the way the Google Docs API was designed, there are some limitations to this extension:
• The extension has no notion of where your cursor is and will parse the document from bottom to top. Because of this, at most one inline code section is created per backtick key press to avoid large amounts unwanted formatting.
• Take care when dealing with large or collaborative documents that may have existing backtick characters. Remember that the extension has a disable toggle for turning it off until it's needed again.
• To "escape" backtick characters in your document, format each backtick character differently from the surrounding text. For example, bolding the `s, but leaving text before and after unbolded will hide the characters from the extension.
• The formatting will happen more quickly when typing another character immediately after pressing the closing backtick character. The reason is complicated, but is essentially to preserve the existing text formatting and avoid extraneous spaces.

# Privacy Policy
https://backtick.zachbrogan.com/privacy-policy.html                    

擴展基本資訊

名稱 Backtick Backtick
ID gfollmknbahbmikbkhepbggabhdpjlhh
官方網址 https://chromewebstore.google.com/detail/backtick/gfollmknbahbmikbkhepbggabhdpjlhh
簡介 Format code in Google Docs using Markdown-style `backticks`
檔案大小 56.33 KB
安裝次數 227
目前版本 0.4.0
更新時間 2023-08-13
上架時間 2022-01-17
評分 3.80/5 共 5 次評分
開發者 Zach Brogan
電子郵箱 [email protected]
付費類型 free
擴展官網 https://backtick.zachbrogan.com
隱私政策頁面URL https://backtick.zachbrogan.com/privacy-policy.html
支援的語言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Backtick",
    "description": "Format code in Google Docs using Markdown-style `backticks`",
    "version": "0.4.0",
    "manifest_version": 3,
    "permissions": [
        "identity",
        "storage"
    ],
    "icons": {
        "16": "icon-16.png",
        "32": "icon-32.png",
        "48": "icon-48.png",
        "128": "icon-128.png"
    },
    "action": {
        "default_popup": "index.html",
        "default_icon": {
            "16": "icon-16.png",
            "32": "icon-32.png",
            "48": "icon-48.png",
            "128": "icon-128.png"
        }
    },
    "background": {
        "service_worker": "background.js"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/docs.google.com\/document\/d\/*"
            ],
            "js": [
                "backtick.js"
            ]
        }
    ],
    "oauth2": {
        "client_id": "45137430676-lfv3ank4cli09vi09p3naghjd0p0q3m0.apps.googleusercontent.com",
        "scopes": [
            "https:\/\/www.googleapis.com\/auth\/documents"
        ]
    },
    "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAi5Ye6GGyb2V+qNIC8BqBCIBTjxViWBGCITnrCeT6YD10R\/q0if\/N7N\/frceF5P3tSxHrs1374PB665iUpl51GbAeaVme1pkxeFaq++cdui11qwS11TbIcEFEdpOzOM94xsK7tYHzCqJS17KFFrugWsnIZCA4y2Ln1NmN0KHTwE7j+wcCt+D17qUNgycl8Bo0cFY1bxfZFQzfDXi2IOHKlxNwU3\/b43asxdlQt4hv98DQaeyg5hxX0b1dScjH4vjUGFxsTwkWaqcIrAXQMSFieKDXEfPWRmUgHe9K9TSbgL9FMGCAy1jtAfxjOpzi\/8t++\/9XsnkFBFNke4O\/n+zPxQIDAQAB"
}