Set parser options (in the same format as in constructor). Probably, you will never need it, but you can change options after constructor call. __Note:__ To achieve the best possible performance, don't modify a `markdown-it` instance options on the fly. If you need multiple
(self, options: OptionsType)
| 92 | }[name] |
| 93 | |
| 94 | def set(self, options: OptionsType) -> None: |
| 95 | """Set parser options (in the same format as in constructor). |
| 96 | Probably, you will never need it, but you can change options after constructor call. |
| 97 | |
| 98 | __Note:__ To achieve the best possible performance, don't modify a |
| 99 | `markdown-it` instance options on the fly. If you need multiple configurations |
| 100 | it's best to create multiple instances and initialize each with separate config. |
| 101 | """ |
| 102 | self.options = OptionsDict(options) |
| 103 | |
| 104 | def configure( |
| 105 | self, presets: str | PresetType, options_update: Mapping[str, Any] | None = None |