Closed mondeja closed 3 years ago
For example, if we want to ignore pymdownx.tabbed titles from being extracted, we could do something like:
import re from mdpo.md2po import Md2Po from pymdownx.tabbed import TabbedProcessor def custom_text(self, block, text): if re.match(TabbedProcessor.START, text): self.ignore_msgids.append(text) md2po = Md2Po(..., events={'text': custom_text})
Added in v0.3.35.
For example, if we want to ignore pymdownx.tabbed titles from being extracted, we could do something like: