Skip to content

Instantly share code, notes, and snippets.

View licarth's full-sized avatar

Thomas CARLI licarth

View GitHub Profile
@licarth
licarth / well-formatted-notion-urls-in-clipboard.js
Last active May 2, 2023 13:36
Tampermonkey user script - Well-formatted Notion URLs to your clipboard
// ==UserScript==
// @name Well-formatted Notion URLs to your clipboard
// @namespace https://gist.github.com/licarth
// @version 0.1.1
// @description Adds a button to copy/paste a nicely formatted link to the current Notion page. Paste it in Slack, GitHub, or anywhere that supports text/helm Clipboard items. Paste as value for markdown version.
// @author licarth
// @match https://www.notion.so/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=notion.so
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js