使用 Textile 的表格单元格内的有序列表

发布于 2024-12-15 13:23:23 字数 489 浏览 6 评论 0原文

我有一个 Wiki,它使用 Textile 来标记文本。我正在尝试将列表放入表格单元格中,但我似乎不知道如何操作。我正在尝试在 Textile 中复制以下 HTML:

<table>
<tr>
    <td>Cell One</td>
    <td>
        Cell Two
        <ol>
            <li>Lorem</li>
            <li>Ipsum</li>
        </ol>
    </td>
</tr>
</table>

尝试了很多方法,但没有任何效果。是否可以在不使用

  • 的情况下做到这一点? Textile 中的 HTML 标签?
  • I've got a Wiki which uses Textile to markup text. I'm trying to put a list within a table cell, and I can't seem to figure out how. I'm trying to replicate the following HTML in Textile:

    <table>
    <tr>
        <td>Cell One</td>
        <td>
            Cell Two
            <ol>
                <li>Lorem</li>
                <li>Ipsum</li>
            </ol>
        </td>
    </tr>
    </table>
    

    Tried a lot of things but couldn't get anything to work. Is it possible todo this without using <li> HTML tags in Textile?

    如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

    扫码二维码加入Web技术交流群

    发布评论

    需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

    评论(1

    倾城°AllureLove 2024-12-22 13:23:23

    我目前在 RubyMine 中也遇到同样的问题。我有一个适用于 Textile 的解决方案,也许它可以帮助您:

    |Cell One|Cell Two ==<ol><li>Lorem</li>
    <li>Ipsum</li></ol>== test|
    

    它不起作用不过在Redmine中:(

    I have the same problem currently in RubyMine. I have a solution that works on Textile, perhaps it helps you:

    |Cell One|Cell Two ==<ol><li>Lorem</li>
    <li>Ipsum</li></ol>== test|
    

    It doesn't work in Redmine, though :(

    ~没有更多了~
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文