Rewording
This commit is contained in:
parent
617bfa3adc
commit
ed5b3f954e
@ -9,12 +9,12 @@ Liquid tag inside @<figure>@ HTML tag. That in turn allows embeeding
|
||||
@<figcaption>@ tag and captioning code, e.g. with file path. Jekyll (v4.3.2)
|
||||
does not provide captioning, but can be extended with simple plugin.
|
||||
|
||||
Plugin code used by this blog is
|
||||
Plugin code presented here and used by this blog is
|
||||
"here.":https://gitea.michalczyk.pro/michalczyk.pro/blog/src/branch/master/_plugins/highlight-capion-options.rb
|
||||
|
||||
The plugin will override @Jekyll::Tags::HighlightBlock.render()@ method. HTML
|
||||
The plugin overrides @Jekyll::Tags::HighlightBlock.render()@ method. HTML
|
||||
code returned by this method can be manipulated using parser library like
|
||||
_Nokogiri_. Adding a single tag is simple enough, that it can be succesfully
|
||||
_Nokogiri_, but inserting a single tag is simple enough to be succesfully
|
||||
performed without additional libraries:
|
||||
|
||||
{% highlight ruby caption=_plugins/highlight-caption-option.rb %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user