logseq-python
Advanced tools
+8
-0
@@ -8,2 +8,10 @@ # Changelog | ||
| ## [0.3.2] - 2025-11-01 | ||
| ### ๐ Bug Fixes | ||
| - **Fixed BlockBuilder multi-line content handling** - Code blocks and other multi-line content now render correctly within blocks | ||
| - When a code block (or any multi-line content) is added to a block, all lines are now properly indented | ||
| - First line gets the bullet point (`- `), subsequent lines get proper continuation indentation | ||
| - Fixes code blocks being split incorrectly across multiple unindented lines | ||
| ## [0.3.1] - 2025-11-01 | ||
@@ -10,0 +18,0 @@ |
@@ -128,3 +128,10 @@ """ | ||
| if self._block_content: | ||
| lines.append(" " * self._indent_level + "- " + self._block_content) | ||
| # Handle multi-line content (e.g., code blocks) | ||
| content_lines = self._block_content.split("\n") | ||
| if content_lines: | ||
| # First line gets the bullet | ||
| lines.append(" " * self._indent_level + "- " + content_lines[0]) | ||
| # Subsequent lines get proper indentation (2 spaces more than bullet) | ||
| for line in content_lines[1:]: | ||
| lines.append(" " * self._indent_level + " " + line) | ||
@@ -131,0 +138,0 @@ # Add block properties if any |
| Metadata-Version: 2.4 | ||
| Name: logseq-python | ||
| Version: 0.3.1 | ||
| Version: 0.3.2 | ||
| Summary: A comprehensive Python library for working with Logseq knowledge graphs | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/thinmanj/logseq-python-library |
+1
-1
| Metadata-Version: 2.4 | ||
| Name: logseq-python | ||
| Version: 0.3.1 | ||
| Version: 0.3.2 | ||
| Summary: A comprehensive Python library for working with Logseq knowledge graphs | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/thinmanj/logseq-python-library |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "logseq-python" | ||
| version = "0.3.1" | ||
| version = "0.3.2" | ||
| description = "A comprehensive Python library for working with Logseq knowledge graphs" | ||
@@ -10,0 +10,0 @@ readme = "README.md" |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
865625
0.1%16602
0.04%