iissnan / iissnan/theme-next-docs

blockquote 块和下一行行间距的问题

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
165
Forks
55
PR merge metrics
No merged PRs in 30d

Description

以下样式是正常的:
```
{% blockquote %}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
{% endblockquote %}

下一行文本

{% blockquote %}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
{% endblockquote %}
```

以下样式会有问题:

```
{% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}

下一行文本

{% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}
```

1、有可能是第一个 endblockquote 和 “下一行文本”之间没有设置行间距;
2、后一种情况,如果去掉中间的 “下一行文本”,两个 blockquote 会连在一起。

版本:5.0.2

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the two blockquote examples in the issue and inspect the documentation's blockquote rendering and styles. Reproduce both cases: a blockquote followed by text, and two attributed blockquotes without intervening text. Done means the spacing is consistent in both cases without blockquotes unexpectedly joining.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.