Skip to content

Instantly share code, notes, and snippets.

@RyanGreenup
Created June 23, 2020 00:10
Show Gist options
  • Save RyanGreenup/15937d598715f93519955f467caeebeb to your computer and use it in GitHub Desktop.
Save RyanGreenup/15937d598715f93519955f467caeebeb to your computer and use it in GitHub Desktop.
Example of Markup

Browsing Yaml Tags

In order to browse YAML tags just search for the verbatim structure with ripgrep, in this context YAML tags are only used to set up notebook directories, so they will always be nested with / characters, hence the number of false positives will be small enough to justify this simplicity:

  cat 00tags.csv  | rg '[a-zA-Z0-9]+/[a-zA-Z0-9/]+'  | fzf | xargs rg -l > /tmp/kdkdjaksd;
  cat /tmp/kdkdjaksd
# I couldn't get a pipe to work so I had to save to /tmp
# I've set this all up in a script called TagFilter which I'll append in the appendinx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment