Skip to content

Instantly share code, notes, and snippets.

@gustavomdsantos
Created August 28, 2019 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gustavomdsantos/83ad5917fbe4d6ea0f7c2e0e0b0f8705 to your computer and use it in GitHub Desktop.
Save gustavomdsantos/83ad5917fbe4d6ea0f7c2e0e0b0f8705 to your computer and use it in GitHub Desktop.
XPath para Calibre que detecta todos os níveis de header do HTML e derivações como capítulos.
//*[name()='h1' or name()='h2' or name()='h3' or name()='h4' or name()='h5' or name()='h6']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment