Repository navigation
MarkdownAura v1.3.1
MarkdownAura 1.3.1
A layout bug in the released build, fixed. 1.3.0 made a table hug its content and, in the same edit,
capped it at 100% of the pane — which overrode the reading column's own cap. So at the narrow and
comfortable widths, a table wide enough to fill up rendered wider than the text around it (measured: a
900px table inside a 600px column; full hid it because there the column is the pane). Only the width
declaration changed: a table hugs its content and scrolls inside the column when it cannot fit, at every
preset.
Code blocks carry their language and a copy button. Every block — fenced or indented, named or bare —
gains a small row above it: the language the fence named (omitted when it named none) and copy this code.
The row sits outside the block on purpose, because a control inside a horizontally scrolling block scrolls
out of reach as soon as the code is wider than the column. Copying reads the code's text, so it works the
same before and after the highlighter rewrites the markup.
A broken image says so. An image that fails to load keeps its alt — the author's description, and what
the reader gets instead of the picture — inside a dashed box whose tooltip carries the reason. While an image
is still on the wire the box reserves its height, so the paragraph below it stops moving when the bytes land.
Four tokens of its own, and a dashed thematic break. hr, the table borders, list markers, and the
blockquote's text and rule no longer borrow the hairline and secondary-text values: they render identically
today, and a theme can now move one without moving the other three. A document's --- is drawn 1px dashed,
because every other horizontal line on the page — table borders, card hairlines, a quote's rule — is solid,
and the one line that means "the subject changes here" has to look unlike them.
A failed engine load no longer poisons the session. A module whose import failed is no longer kept:
the next diagram retries the import, instead of every later block of that engine failing instantly for the
rest of the run with the same stale error.
MarkdownAura 1.3.1
修掉了已发布版本里的一个排版 bug。 1.3.0 让表格贴着内容,同时顺手把它的上限写成窗格宽度的
100%——这一条盖掉了阅读栏自己的上限。于是窄/舒适两档下,内容够宽的表格比周围的正文更宽(实测:
600px 的栏里出现 900px 的表格;full 档看不出来,因为那一档的栏就是窗格)。这次只改宽度声明:
表格贴着内容,装不下时在栏内横向滚动,三个档位都一样。
代码块带上语言徽标与复制按钮。 围栏块、缩进块、写了语言的和没写语言的都有这一行:语言(围栏没写
就不显示)与 copy this code。这一行刻意放在代码块外面——放在里面,代码比栏宽时按钮会跟着横向
滚动跑出视野。复制读的是代码文本,所以高亮前后完全一样。
图片加载失败会说清楚。 加载失败的图片保留作者写的 alt(读者至少知道那是什么图),装进虚线框,
原因放在悬停提示里。图片还在路上时先预留高度,字节到达时下面的段落不再跳一次。
四条自己的 token,分隔线改虚线。 hr、表格边框、列表标记、引用的文字与左边线不再借用细线和次要
文字的值:今天渲染结果一模一样,区别是主题可以单独调其中一条。文档里的 --- 画成 1px 虚线——页面上
其它横线(表格边框、卡片细线、引用左边线)都是实线,而唯一表示「话题在这里换」的那条必须与它们不同。
引擎加载失败不再毒化会话。 import 失败过的模块不再被缓存:下一张图会重新 import,而不是本会话
后续同引擎的每一块都拿同一个旧错误瞬间失败。