You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Doc: Add Joplin Server Business to plans and add page about it (#12694)
This commit is contained in:
@@ -16,6 +16,7 @@ export enum MarkdownTableJustify {
|
||||
export interface MarkdownTableHeader {
|
||||
name: string;
|
||||
label: string;
|
||||
labelUrl?: string;
|
||||
filter?: (content: string)=> string;
|
||||
disableEscape?: boolean;
|
||||
disableHtmlEscape?: boolean;
|
||||
@@ -159,7 +160,11 @@ const markdownUtils = {
|
||||
const lineMd = [];
|
||||
for (let i = 0; i < headers.length; i++) {
|
||||
const h = headers[i];
|
||||
headersMd.push(stringPadding(h.label, minCellWidth, ' ', stringPadding.RIGHT));
|
||||
let label = h.label;
|
||||
if (h.labelUrl) {
|
||||
label = `[${h.label}](${h.labelUrl})`;
|
||||
}
|
||||
headersMd.push(stringPadding(label, minCellWidth, ' ', stringPadding.RIGHT));
|
||||
|
||||
const justify = h.justify ? h.justify : MarkdownTableJustify.Left;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user