Add link dump on text support.

This commit is contained in:
Paulo Gustavo Veiga 2022-01-02 14:18:02 -08:00
parent 90f1906788
commit 8634fb5c9a
6 changed files with 14 additions and 14 deletions

View File

@ -46,7 +46,7 @@ class TxtExporter implements Exporter {
node.getFeatures().forEach((f)=>{ node.getFeatures().forEach((f)=>{
const type = f.getType(); const type = f.getType();
if(type === 'link'){ if(type === 'link'){
result = result + ` [link: ${(f as LinkModel).getUrl}]` result = result + ` [link: ${(f as LinkModel).getUrl()}]`
} }
}); });
result = result + '\n'; result = result + '\n';

View File

@ -22,7 +22,7 @@ import fs from 'fs';
import { diff } from 'jest-diff'; import { diff } from 'jest-diff';
import { expect } from '@jest/globals'; import { expect } from '@jest/globals';
const saveOutputRecord = false; const saveOutputRecord = true;
export const setupBlob = () => { export const setupBlob = () => {
// Workaround for partial implementations on Jest: // Workaround for partial implementations on Jest:

View File

@ -1,6 +1,6 @@
1 PPM Plan 1 PPM Plan
1.1 Business Development 1.1 Business Development
1.2 Backlog Management 1.2 Backlog Management [link: https://docs.google.com/a/freeform.ca/drawings/d/1mrtkVAN3_XefJJCgfxw4Va6xk9TVDBKXDt_uzyIF4Us/edit]
1.3 Freeform IT 1.3 Freeform IT
1.4 Client Project Management 1.4 Client Project Management
1.5 Governance & Executive 1.5 Governance & Executive
@ -81,7 +81,7 @@
11.1.1 null 11.1.1 null
11.2 Strategic Priority 3b: Health Promotion 11.2 Strategic Priority 3b: Health Promotion
11.2.1 Health and Wellness Committee 11.2.1 Health and Wellness Committee
11.2.2 Work-life Balance Initiative 11.2.2 Work-life Balance Initiative [link: http://hrcouncil.ca/hr-toolkit/workplaces-health-safety.cfm]
11.3 So that... 11.3 So that...
12 Benefits 12 Benefits
12.1 As Freeform Staff 12.1 As Freeform Staff
@ -98,8 +98,8 @@
13.3 Drupal Community 13.3 Drupal Community
13.4 CiviCRM 13.4 CiviCRM
13.5 Other 13.5 Other
14 Backlog Plan 14 Backlog Plan [link: https://docs.google.com/a/freeform.ca/drawings/d/1mrtkVAN3_XefJJCgfxw4Va6xk9TVDBKXDt_uzyIF4Us/edit]
14.1 Go To Backlog Plan 14.1 Go To Backlog Plan [link: https://docs.google.com/a/freeform.ca/drawings/d/1mrtkVAN3_XefJJCgfxw4Va6xk9TVDBKXDt_uzyIF4Us/edit]
15 Strategy Prospecting 15 Strategy Prospecting
15.1 null 15.1 null
15.2 null 15.2 null

View File

@ -3,11 +3,11 @@
2.1 Normas aplicables a problemas de determinación de resultados 2.1 Normas aplicables a problemas de determinación de resultados
3 CIRCULANTES 3 CIRCULANTES
3.1 Adquisición temporal de acciones propias 3.1 Adquisición temporal de acciones propias
4 NIF A 4 NIF A [link: http://www.youtube.com/watch?v=7YN-sOlkQp0]
4.1 Marco conceptual 4.1 Marco conceptual
5 NIF C 5 NIF C [link: https://sites.google.com/site/contabilidadimcpnif/estructura-de-las-nif]
5.1 Normas aplicables a conceptos específicos de los estados financieros 5.1 Normas aplicables a conceptos específicos de los estados financieros
6 NIF E 6 NIF E
6.1 Normas aplicables alas actividades especializadas de distintos sectores 6.1 Normas aplicables alas actividades especializadas de distintos sectores
7 NIF B 7 NIF B [link: http://www.contaduria.uady.mx/files/cuerpo-acad/caef/aief/resumen_NIF_marco_conceptual.pdf]
7.1 Normas aplicables a los estados financieros en su conjunto 7.1 Normas aplicables a los estados financieros en su conjunto

View File

@ -29,7 +29,7 @@
1.5.1.1 Orange County Eye and Transplant Bank 1.5.1.1 Orange County Eye and Transplant Bank
1.5.1.2 Northern California Transplant Bank 1.5.1.2 Northern California Transplant Bank
1.5.1.2.1 In 2010, 2,500 referrals forwarded to OneLegacy 1.5.1.2.1 In 2010, 2,500 referrals forwarded to OneLegacy
1.5.1.3 Doheny Eye and Tissue Transplant Bank 1.5.1.3 Doheny Eye and Tissue Transplant Bank [link: http://www.dohenyeyebank.org/]
1.5.2 OneLegacy 1.5.2 OneLegacy
1.5.2.1 In 2010, 11,828 referrals 1.5.2.1 In 2010, 11,828 referrals
1.5.3 San Diego Eye Bank 1.5.3 San Diego Eye Bank

View File

@ -1,13 +1,13 @@
1 Welcome To WiseMapping 1 Welcome To WiseMapping
1.1 5 min tutorial video ? 1.1 5 min tutorial video ?
Follow the link ! Follow the link ! [link: https://www.youtube.com/tv?vq=medium#/watch?v=rKxZwNKs9cE]
1.2 Try it Now! 1.2 Try it Now!
1.2.1 Double Click 1.2.1 Double Click
1.2.2 Press "enter" to add a 1.2.2 Press "enter" to add a
Sibling Sibling
1.2.3 Drag map to move 1.2.3 Drag map to move
1.3 Features 1.3 Features
1.3.1 Links to Sites 1.3.1 Links to Sites [link: http://www.digg.com]
1.3.2 Styles 1.3.2 Styles
1.3.2.1 Fonts 1.3.2.1 Fonts
1.3.2.2 Topic Shapes 1.3.2.2 Topic Shapes
@ -24,8 +24,8 @@ Sibling
1.5.2 Brainstorming 1.5.2 Brainstorming
1.5.3 Visual 1.5.3 Visual
1.6 Install In Your Server 1.6 Install In Your Server
1.6.1 Open Source 1.6.1 Open Source [link: http://www.wisemapping.org/]
1.6.2 Download 1.6.2 Download [link: http://www.wisemapping.com/inyourserver.html]
1.7 Collaborate 1.7 Collaborate
1.7.1 Embed 1.7.1 Embed
1.7.2 Publish 1.7.2 Publish