Use marked
instead of markdown-js
for Markdown parser of TiddlyWiki 5.
Originally fork from http://bjtools.tiddlyspot.com/
- support fenced code block
- support code highlighting
- Install the official Markdown and Hightlight.js plugin.
// ==UserScript== | |
// @id iitc-plugin-bookmarks@Sunny0s | |
// @name IITC plugin: Bookmarks for maps and portals (polyline version) | |
// @category Controls | |
// @version 0.1 | |
// @namespace | |
// @updateURL | |
// @downloadURL | |
// @description based on zaso Bookmarks plugin, the only difference if auto draw drawing polylines, not polygons | |
// @include https://*.ingress.com/intel* |
// ==UserScript== | |
// @id iitc-plugin-highlight-portals-supply-base@fl0o0l | |
// @name IITC plugin: highlight portals supply base | |
// @category Highlighter | |
// @version 0.0.1.20160106.000001 | |
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion | |
// @updateURL https://gist.github.com/DrMacinyasha/c6207fead937be8f5d3a/raw/portal-highlighter-supply-base-rmciimod.user.js | |
// @downloadURL https://gist.github.com/DrMacinyasha/c6207fead937be8f5d3a/raw/portal-highlighter-supply-base-rmciimod.user.js | |
// @include https://www.ingress.com/intel* | |
// @include http://www.ingress.com/intel* |
# Download curses wheel package | |
http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses | |
# Install curses via pip | |
pip install python -m pip install Downloads/curses-2.2-cp27-none-win_amd64.whl | |
# Run bpython-curses instead of bpython | |
bpython-curses |
#!/bin/sh | |
########################################################################## | |
# Note: you must have set up your Travis CI environment variables for this | |
# project to include both TELEGRAM_TOKEN and TELEGRAM_CHAT_ID | |
# For more details, see the Telegram documentation at: | |
# - https://core.telegram.org/bots/api | |
# and the blog posts at: | |
# - https://ansonvandoren.com/posts/telegram-notification-on-deploy/ | |
# - https://ansonvandoren.com/posts/travis-telegram-integration/ |
# Moved to https://github.com/nightroman/FarGit |
Use marked
instead of markdown-js
for Markdown parser of TiddlyWiki 5.
Originally fork from http://bjtools.tiddlyspot.com/
// ==UserScript== | |
// @id iitc-plugin-bookmarks@Sunny0s | |
// @name IITC plugin: Bookmarks for maps and portals (sunny0s version) | |
// @category Controls | |
// @version 0.2 | |
// @namespace | |
// @updateURL | |
// @downloadURL | |
// @description based on zaso Bookmarks plugin, differences: auto draw drawing polylines, not polygons; DT to BMs function | |
// @include https://*.ingress.com/intel* |
author: JeremyRuston, Syrte | |
core-version: >=5.0.0 | |
dependents: | |
description: Markdown parser | |
list: readme usage howto | |
plugin-type: plugin | |
revision: 0 | |
title: $:/plugins/tiddlywiki/markdown | |
type: application/json | |
version: 6.0.0 |
/* eslint-disable no-var,no-console */ | |
// detect unused CSS selectors | |
(function() { | |
var parsedRules = parseCssRules(); | |
console.log('Parsed CSS rules:', parsedRules); | |
detectDuplicateSelectors(parsedRules); | |
var selectorsToTrack = getSelectorsToTrack(parsedRules); | |
window.selectorStats = { unused: [], added: [], removed: [] }; | |
console.log('Tracking style usage (inspect window.selectorStats for details)...'); |
/** | |
* JavaScript function prototype debouncer 4.3 - 2010-2022 hnldesign.nl - Klaas Leussink | |
* Demo: https://code.hnldesign.nl/demo/hnl.debounce.html | |
* | |
* Based on code by Paul Irish and the original debouncing function from John Hann | |
* http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ | |
* Register deBouncer as a function prototype. | |
* | |
* All debounced variants of the function (depending on the supplied debouncing parameters (see below) | |
* are stored inside a 'dbObj' Object inside the debounced function. |