Skip to content

Commit abf0dda

Browse files
committed
update: force content inline in report
1 parent 5781b8e commit abf0dda

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/commands/setup/.foam/templates/report.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function generateFoamGraph(foam) {
173173
const type = n.type === "note" ? n.properties.type ?? "note" : n.type;
174174
const title = n.type === "note" ? n.title : n.uri.getBasename();
175175
if (type === "report") {
176-
return // ignore all report type notes
176+
return; // ignore all report type notes
177177
}
178178
graph.nodeInfo[n.uri.path] = {
179179
id: n.uri.path,
@@ -293,7 +293,7 @@ async function createNote({ trigger, foam, resolver, foamDate }) {
293293
let hostInformation = hostNoteList.map((hostMeta) => {
294294
return `## Host: ${hostMeta.title}
295295
296-
![[${getId(hostMeta.uri)}]]
296+
content-inline![[${getId(hostMeta.uri)}]]
297297
`;
298298
});
299299

@@ -311,7 +311,7 @@ async function createNote({ trigger, foam, resolver, foamDate }) {
311311
}
312312
var currentNote = `
313313
314-
![[${getId(userMeta.uri)}]]
314+
content-inline![[${getId(userMeta.uri)}]]
315315
`;
316316
if (index === 0) {
317317
if (userMeta.type === "host") {

src/commands/setup/.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"other": "on"
1616
}
1717
},
18-
"foam.preview.embedNoteType": "content-inline",
1918
"weaponized.lhost": "change-me",
2019
"weaponized.lport": 6789,
2120
"weaponized.listenon": 8890,

0 commit comments

Comments
 (0)