erynwells.me/layouts/shortcodes
Eryn Wells 9ffa94f8af Add Tab's railroad.js to the blog
- Include railroad.js from http://tabatkins.github.io/railroad-diagrams/
- Include railroad.css from the same, and tweak it to match my style a bit
  better
- Add a railroad-utils.js file that declares a railroadDiagram function. It
  takes a builder function and an element ID, calls the builder and adds the
  resulting diagram to the element with the given ID.
- Add a railroad_diagram shortcode that wraps that all up so you can write a
  diagram inline with a post.
- Add script includes if the railroad_diagram shortcode is used. The shortcut
  sets a variable in the page's .Scratch that is looked up in the head partial
  template to determine whether to include these scripts.
2022-08-16 09:12:13 -07:00
..
nethack Add a best_game shortcode 2022-04-24 17:27:13 -07:00
abbr.html Add an <abbr> shortcode 2022-04-17 10:12:45 -07:00
anagram.html Add anagram shortcode 2021-10-02 11:14:20 -07:00
audio.html Add audio shortcode 2022-04-09 09:08:38 -07:00
collapse.html Move a bunch of stuff from the theme 2021-10-11 12:26:47 -07:00
p5_sketch.html Make the p5-sketch element a figure 2022-03-25 23:38:37 -07:00
post_figure.html Rearrange the variable declarations in post_figure 2022-03-25 23:22:50 -07:00
railroad_diagram.html Add Tab's railroad.js to the blog 2022-08-16 09:12:13 -07:00
recent_posts.html Add a draft tag to drafts in recent_posts 2021-10-10 18:42:11 -07:00
resume_flex.html More resume updates 2021-10-05 20:44:33 -07:00
resume_section.html Change "to" to a en dash in the resume job headings 2021-12-23 16:52:01 -07:00
tess.html A tess shortcode 2021-10-03 10:01:57 -07:00
youtube_figure.html Copy the youtube shortcode and put it in a figure 2021-12-26 13:06:22 -07:00