beforeRunningCommand nop command #!/usr/bin/env ruby sections = STDIN.readlines puts "<ol>" sections.each do |s| section = s.gsub(/\n/,'') css_class = section.gsub(/ /, '_').gsub(/[\W\n]/, '').downcase url = css_class.gsub('_', '-') puts "\t<li class=\"#{css_class}\"><a href=\"#{url}.php\">#{section}</a></li>" end puts "</ol>" fallbackInput none input selection keyEquivalent ^~@N name navbar output replaceSelectedText scope text.html uuid B376B24A-6E17-4817-A181-BCCCB45CDB45