【问题标题】:Ordered list with Sandcastle Help File BuilderSandcastle 帮助文件生成器的有序列表
【发布时间】:2009-06-10 14:05:33
【问题描述】:

当我使用 Sandcastle Helpfile Builder 创建 chm 时,如何使 xmldoc 块中的列表呈现为有序列表?

以下不起作用:

/// <list type="numbered">
///     <item>Built in support for foobar</item>
///     <item>Client gooblygook and associated javascript support</item>
///     <item>Client side ability to read values from control</item>
///     <item>AJAX support via ASP.NET callbacks</item>
///     <item>Smaller HTML and Javascript footprint when compared to the crappy thirdparty control we paid too much for.</item>
/// </list>

在我试图解决的特定情况下,列表位于

元素中。

【问题讨论】:

  • 不知道,但是你试过把它放在里吗?可能摘要元素不支持列表。

标签: sandcastle shfb


【解决方案1】:

以防万一有人遇到这个问题 - 正确的实现是:

    /// <list type="number">
    ///     <item>Built in support for foobar</item>
    ///     <item>Client gooblygook and associated javascript support</item>
    ///     <item>Client side ability to read values from control</item>
    ///     <item>AJAX support via ASP.NET callbacks</item>
    ///     <item>Smaller HTML and Javascript footprint when compared to the crappy thirdparty control we paid too much for.</item>
    /// </list>

它不必在&lt;remarks&gt; 部分中。

阅读更多<list> (C# Programming Guide)

【讨论】:

  • 谢谢!我没想到会得到答案。
  • 有趣的是,在沙堡页面上,您会发现描述的语法完全不同。 ewsoftware.github.io/MAMLGuide/html/…
  • @AnorZaken 有趣的是,这也是我正在查看的文档,但它肯定已经过时了。我看到这篇文章是因为我的列表不起作用,但就我而言,我使用的是 &lt;list class="bullet"&gt; 而不是本文档中引用的 &lt;list type="bullet"&gt;Sandcastle XML Comments Guide - List。显然 class 属性在某个时候更改为 type
猜你喜欢
  • 2010-09-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多