Mobiledoc

Latest version: v0.3.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.1

Removed the code that checks if the current atom is already included.

0.3.0

Added a new method, `add_markdown_from_html` that uses the markdownify to convert HTML strings into Markdown.

0.2.1

Fixed the issue that `__init__.py` file on the `mobiledoc` pointing at the variable, `mobiledoc` instead of `MobileDoc` class.
Added tests

0.2.0

Added more methods as follows:
- **`add_button(text: str, url: str, alignment:str = "center")`**: Adds a button to mobiledoc.
- **`add_HTML(self, html:str):`**: Adds raw HTML card to mobiledoc.
- **`add_markdown(self, markdown:str):`**: Adds raw markdown card to mobiledoc.
- **`add_file(self, url: str, filename: str, filetitle: str, filesize: int, filecaption: str = ""):`**: Adds a file to mobiledoc.
- **`def add_callout(self, text: str, emoji: str = "", color: str = "accent"):`**: Adds a callout to mobiledoc.

0.1.0

This is the starting point of this package.

This supports some of the basic formatting options in mobiledoc format such as:
- Text formatting (bold, code, italic, underline, subscript, superscript, strikethrough, and hyperlink.)
- Adding images
- Adding dividers
- Adding custom data
And other APIs that allows to fetch the current status of the mobiledoc.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.