简体   繁体   English

如何在段落中间对齐链接?

[英]How to align a link in the middle of a paragraph?

I have been struggling with adding a link with the text 'here' to flow inline with the entire paragraph.我一直在努力添加带有文本“此处”的链接以与整个段落内联。 Essentially what I would like to do is基本上我想做的是

'Gibberish here detailing the required steps.' 这里是胡言乱语,详细说明了所需的步骤。”

How can I accomplish this so as to have everything in a single line?我怎样才能做到这一点,以便将所有内容都放在一行中? I have tried doing this but it gives me the results attached in the screenshot.我试过这样做,但它给了我截图中附加的结果。

          <Flex direction="column" gap="s">
          GIBBERISHH{" "}
          <Anchor
            href=""
            trackingId=""
            label="Read the Walkthrough"
          />
          detailing the required steps.
        </Flex>

在此处输入图像描述

Edit: Also tried changing the Flex direction to a row but I get this result which is not what I need either.编辑:还尝试将 Flex 方向更改为一行,但我得到的结果也不是我需要的。 Any suggestions would be great!任何建议都会很棒!

在此处输入图像描述

Why not a "p" tag if it's a paragraph:如果是段落,为什么不用“p”标签:

    <p>
          GIBBERISHH{" "}
          <Anchor
            href=""
            trackingId=""
            label="Read the Walkthrough"
          />
          detailing the required steps.
    </p>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM