module Jekyll::Algolia::Hooks

def self.before_indexing_each(record, _node)

Users can return nil to signal that the record should not be indexed

information from the HTML node.
be used to remove keys that should not be indexed, or access more
Users can modify the record (adding/editing/removing keys) here. It can

node - The Nokogiri node of the element
record - The hash of the record to be pushed

Public: Custom method to be run on the record before indexing it
def self.before_indexing_each(record, _node)
  record
end