Class: Jekyll::Graph::HeadTag
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Jekyll::Graph::HeadTag
- Defined in:
- lib/jekyll-graph/tags.rb
Instance Method Summary collapse
Instance Method Details
#render(context) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/jekyll-graph/tags.rb', line 7 def render(context) [ "<script src=\"//unpkg.com/element-resize-detector/dist/element-resize-detector.min.js\"></script>", "<script src=\"//unpkg.com/force-graph\"></script>", "<script src=\"https://d3js.org/d3.v6.min.js\"></script>", ].join("\n").gsub!("\n", "") # for long-string legibility end |