Newsprint Paragraphs

by camusz11
5
4
3
2
1
Score: 50/100

Description

Optional compact-paragraph display companion for Newsprint by Camus.

Reviews

No reviews yet.

Stats

0
stars
12
downloads
0
forks
2
days
2
days
2
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
3
commits

Latest Version

3 days ago

Changelog

实时预览现在可显示与 Newsprint 阅读视图一致的嵌套编号:二级用 a. b. c.,三级用 i. ii. iii.。一级继续使用数字;正在编辑的行及纯源码模式保留原数字。

已在 macOS 的 Obsidian 中验证重复数字写法、分组重置、自定义起点和长列表滚动。插件只调整显示,不改写 Markdown。

README file from

Github

Newsprint Paragraphs

Optional companion for Newsprint by Camus. It displays top-level prose soft breaks as separately spaced paragraphs, for vaults that keep Markdown compact without blank separators.

Install

Download main.js and manifest.json from the latest release. Put them in <vault>/.obsidian/plugins/newsprint-paragraphs/, reload Obsidian and enable Newsprint Paragraphs in Settings → Community plugins. Community directory submission is pending; this is currently a manual GitHub installation. Activate Newsprint by Camus. The helper uses the theme's CSS marker; it does nothing when another theme is active. The theme must be installed separately. Style Settings is optional.

Behavior

The helper spaces top-level prose paragraphs and separates standalone image lines inside top-level quotes. Other quote breaks, inline images, lists, callouts, tables and code retain their line-break semantics. A deliberately inserted hard break in top-level prose is also displayed as a paragraph break; disable the plugin if your notes depend on that distinction. Inline links and emphasis remain intact. Existing paragraph nodes are preserved for Obsidian's virtual renderer. With Newsprint active, second-level ordered lists display lowercase letters and third-level ordered lists display lowercase Roman numerals in Live Preview, matching the theme’s Reading view. The active editing line shows the original Markdown number. Switching theme or disabling the plugin rebuilds Reading views using Obsidian's public preview API. The helper does not write notes, modify settings, make network requests, collect data, or install dependencies.

Compatibility

Minimum Obsidian 1.10.6. Verified on macOS / Obsidian 1.13.7. Uses browser DOM and Obsidian public APIs; mobile and Windows are supported by the implementation but have not been visually tested.

中文

适合正文段落之间不留空行的笔记。仅改变阅读和实时预览的显示,不改写笔记;必须配合 Newsprint by Camus 主题。顶层引用内的独立图片前后留出段距;普通引用换行、行内图片、列表、提示框、表格与代码保留原来的分行。顶层正文中的手动硬换行也会显示为段落,请按你的写作习惯决定是否启用。实时预览中的二级有序列表显示 a. b. c.,三级显示 i. ii. iii.,与阅读视图一致;正在编辑的行保留原数字。

1.0.3

Show lowercase letters for second-level ordered lists and lowercase Roman numerals for third-level ordered lists in Live Preview. The original numeric Markdown remains editable and unchanged.

1.0.2

Separate standalone images from neighboring text inside top-level quotes. Pair with Newsprint by Camus 1.0.6 for consistent spacing in Reading view and Live Preview.

License

MIT, see LICENSE.