Skip to content

Instantly share code, notes, and snippets.

date count
2020-01-14 1
2020-01-15 0
2020-01-16 0
2020-01-17 1
2020-01-18 0
2020-01-19 0
2020-01-20 2
2020-01-21 0
2020-01-22 1
@ViktorQvarfordt
ViktorQvarfordt / trello-mathjax.user.js
Last active January 22, 2019 18:18
Apply Mathjax to Trello
// ==UserScript==
// @name MathJax Trello
// @description Apply Mathjax to Trello
// @include https://trello.com/*
// @grant none
// ==/UserScript==
// INSTALL: https://gist.githubusercontent.com/ViktorQvarfordt/c3f89c3cf50e3dc60b23257294af5710/raw/trello-mathjax.user.js
if (window.MathJax === undefined) {
(*
(* CR jfuruse: なんたら *) というのは前職でのコードレビューの書き方で、私の癖になっている。すべて、「私ならば…こうするかな?」が省略されています。
私ならやっつけモードでこう書く、という例です。人様のコードを元にしているので、ほんとにこう書くのかよ?という突っ込みはありかと思います。
元コードも実際のものを簡略化されたものだそうですので、私の提案コードのように書きたいけれども実は書けないんだ!ということもあるでしょう。
OCaml のプログラミングスタイルは決まったものはなくいろいろと流儀があります。その一つと思ってください。
*)