Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Sep 29, 2023
1 parent b5395ca commit a464990
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/markdown-content/markdown-content.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class MarkdownContentComponent {
let lines = this.data.split('\n');

for (let i = 0; i < lines.length; i++) {
lines[i] = lines[i].replace('$$HOST$$', IrisinterfaceService.host);
lines[i] = lines[i].replace('$$PORT$$', '' + IrisinterfaceService.port);

if (lines[i].startsWith('~~~')) {
// code window
let language = lines[i].replace('~~~', '');
Expand Down

0 comments on commit a464990

Please sign in to comment.