首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法在compodoc的example部分插入引号

我无法在compodoc的example部分插入引号
EN

Stack Overflow用户
提问于 2019-06-18 00:24:07
回答 1查看 123关注 0票数 1

我正在用'compodoc‘记录我的项目,我喜欢这个工具,但当我尝试插入引号时,我得到了一个错误视觉。

我有这样的评论

代码语言:javascript
复制
/**
   * crea un arreglo de tamaño n
   *
   * @example
   * *ngFor="let item of 2 | numberToArray"
   *
   * @param length tamaño del nuevo arreglo
   *
   * @returns un arreglo de tamaño n
   */

我期待着这一切

代码语言:javascript
复制
example:
1| *ngFor="let item of 2 | numberToArray"

但是实际的输出是

代码语言:javascript
复制
example:
1| *ngFor="let item of 2 | numberToArray"
EN

回答 1

Stack Overflow用户

发布于 2019-06-18 00:30:03

我有点困惑,因为你的例子中有你的expected output is the same as the actual output。尝试转义引号\"Foo bar\"

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56635332

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档