From dbe22c821b850d3a1f492d2cd40b20eb9e3c826f Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Sun, 30 Jul 2023 00:14:56 +0330 Subject: [PATCH] Update docs --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 84c1aa6..5d011a2 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,24 @@ puts bidifier.apply('
input stringified html
') Available options with their default values are as follows: +- `excluding_tags: []` + + Removes tags from the list of bidifiable tags. This option affects the + provided tags in `including_tags` options. + +- `including_tags: []` + + Adds new tags to the list of bidifiable tags + - `greedy: false` By default, bidification stops when it reaches an element that has `dir` attribute. Use `true` to disregard any existing `dir` attributes. +- `only_tags: []` + + It sets the bidifiable tags to the given tags. + - `with_table_support: false` Use `true` to add table tags support.