mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
help-beta: Merge lists of same type adjacent to each other.
Fixes #31252. One of our major use cases for file imports is to have bullet points as partials to import at different places in the project. But when importing the file with Astro, it creates its own lists. So we merge lists together if they have nothing but whitespace between them. There were some talks to use a component called FlattenList that would flatten the list inside it, but that would also flatten lists that were nested on purpose. This approach while feeling a bit hacky would not flatten nested lists.
This commit is contained in:
committed by
Tim Abbott
parent
c0a2b2a31d
commit
b813d868a7
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@@ -503,9 +503,18 @@ importers:
|
||||
'@astrojs/starlight':
|
||||
specifier: ^0.33.0
|
||||
version: 0.33.0(astro@5.6.1(@types/node@22.14.0)(jiti@1.21.7)(rollup@4.39.0)(sass@1.86.3)(terser@5.39.0)(typescript@5.8.3)(yaml@2.7.1))
|
||||
'@types/hast':
|
||||
specifier: ^3.0.4
|
||||
version: 3.0.4
|
||||
astro:
|
||||
specifier: ^5.1.2
|
||||
version: 5.6.1(@types/node@22.14.0)(jiti@1.21.7)(rollup@4.39.0)(sass@1.86.3)(terser@5.39.0)(typescript@5.8.3)(yaml@2.7.1)
|
||||
hast-util-from-html:
|
||||
specifier: ^2.0.3
|
||||
version: 2.0.3
|
||||
hast-util-to-html:
|
||||
specifier: ^9.0.5
|
||||
version: 9.0.5
|
||||
sharp:
|
||||
specifier: ^0.34.1
|
||||
version: 0.34.1
|
||||
|
Reference in New Issue
Block a user