# File r4tw.rb, line 584
  def add_shadow_tiddler(tiddler)
    # shadow tiddlers currently implemented as core_hacks

    add_core_hack(
      /^\/\/ End of scripts\n/m,
      "\\0\nconfig.shadowTiddlers[\"#{tiddler.name}\"] = #{tiddler.text.dump};\n\n"
    )
  end