Я не могу понять, как в Google Apps Script отобразить это правильно. Мне нужно, чтобы он отображал новые строки в выводе jsdoc (например, когда окно всплывающей подсказки функции появляется в функциях электронной таблицы). Я пробовал html как, однако, он просто отображается как текст, а не разрыв строки.
Например:
/**
* Converts the prefixed value to the specified base.
* Requires one of the following prefixes:
* '0b' Base 2: binary
* '0q' Base 4: quaternary
* '0o' Base 8: octal
* '0x' Base 16: hexadecimal
*
* @param {string} Value The prefixed value to convert.
* @param {number} To The base to convert to.
* @return The converted base.
* @customfunction
*/
function BASEP(Value, To) {
Это просто отображает текстовое blob как:
Summary:
Converts the prefixed value to the specified base. Requires
one of the following prefixes: 0b Base 2: binary 0q Base 4:
quaternary 0o Base 8: octal 0x Base 16: hexadecimal