To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:
[create an anchor](#anchors-in-markdown)
| Add the following in .zshrc: | |
| ... | |
| plugins=(osx git zsh-autosuggestions zsh-syntax-highlighting zsh-nvm docker kubectl) | |
| ... | |
| ### Fix slowness of pastes with zsh-syntax-highlighting.zsh | |
| pasteinit() { | |
| OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
| zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? |
| #!/bin/env python | |
| import os | |
| import json | |
| import hashlib | |
| from functools import reduce | |
| import argparse | |
| import logging | |
| import shutil | |
| DOCKER_DIR = '/var/lib/docker' |
| /************* | |
| * ambush.js * | |
| ************* | |
| * | |
| * Oh. Oh, I see. This wasn't quite part of the plan. | |
| * | |
| * Looks like they won't let you take the Algorithm | |
| * without a fight. You'll need to carefully weave your | |
| * way through the guard drones. | |
| * |
| /********************** | |
| * fordingTheRiver.js * | |
| ********************** | |
| * | |
| * And there's the river. Fortunately, I was prepared for this. | |
| * See the raft on the other side? | |
| * | |
| * Everything is going according to plan. | |
| */ |
| /**************** | |
| * drones101.js * | |
| **************** | |
| * | |
| * Do you remember, my dear Professor, a certain introductory | |
| * computational rationality class you taught long ago? Assignment | |
| * #2, behavior functions of autonomous agents? I remember that one | |
| * fondly - but attack drones are so much easier to reason about | |
| * when they're not staring you in the face, I would imagine! |