angular - 我无法在 compodoc 的示例部分插入引号
问题描述
我正在用“compodoc”记录我的项目,我喜欢这个工具,但是当我尝试插入报价时,我得到一个错误的视觉效果。
我有这个评论
/**
* 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
*/
我期待这个
example:
1| *ngFor="let item of 2 | numberToArray"
但实际输出是
example:
1| *ngFor="let item of 2 | numberToArray"
解决方案
我有点困惑,因为您的预期输出与示例中的实际输出相同。尝试转义引号\"Foo bar\"
推荐阅读
- python - ValueError:未知语言环境:UTF-8
- java - 根据状态机模式实现的代码不起作用
- asp.net-mvc-5 - 带区域的 MVC 5 ActionLink
- ios - 无法同时满足约束 - LayoutConstraints
- javascript - 如何在类组件中使用 next.js 中的“useRouter()”?
- drupal - Drupal 8 迁移后未加载 Javascript 和 CSS
- java - 给定一个由 n 个整数和一个整数 x 组成的未排序数组,重新排列其中的元素
- javascript - Typescript React 泛型函数类型
- node.js - TypeError 子类别不是构造函数
- java - java.util.concurrent.Future 在超时方面的行为是什么?