Skip to content

Commit 1b3f29d

Browse files
committed
Markdown: Renamed 'ReadmeToHtmlComponent' to 'MarkdownViewerComponent
1 parent 35b75f2 commit 1b3f29d

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

src/app/app.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
1+
import { NgModule } from '@angular/core';
22
import { BrowserModule } from '@angular/platform-browser';
33
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
44

@@ -22,7 +22,7 @@ import { ActivityDescriptionComponent } from './component/activity-description/a
2222
import { ActivityDescriptionPageComponent } from './pages/activity-description/activity-description-page.component';
2323
import { LoaderService } from './service/loader/data-loader.service';
2424
import { HttpClientModule } from '@angular/common/http';
25-
import { ReadmeToHtmlComponent } from './component/readme-to-html/readme-to-html.component';
25+
import { MarkdownViewerComponent } from './component/markdown-viewer/markdown-viewer.component';
2626
import { DependencyGraphComponent } from './component/dependency-graph/dependency-graph.component';
2727
import { ToStringValuePipe } from './pipe/to-string-value.pipe';
2828
import { ModalMessageComponent } from './component/modal-message/modal-message.component';
@@ -42,7 +42,7 @@ import { TeamsGroupsEditorModule } from './component/teams-groups-editor/teams-g
4242
ActivityDescriptionPageComponent,
4343
CircularHeatmapComponent,
4444
MappingComponent,
45-
ReadmeToHtmlComponent,
45+
MarkdownViewerComponent,
4646
UsageComponent,
4747
AboutUsComponent,
4848
DependencyGraphComponent,

src/app/component/readme-to-html/readme-to-html.component.css renamed to src/app/component/markdown-viewer/markdown-viewer.component.css

File renamed without changes.

src/app/component/readme-to-html/readme-to-html.component.html renamed to src/app/component/markdown-viewer/markdown-viewer.component.html

File renamed without changes.

src/app/component/readme-to-html/readme-to-html.component.spec.ts renamed to src/app/component/markdown-viewer/markdown-viewer.component.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import { ComponentFixture, TestBed } from '@angular/core/testing';
22
import { HttpClientTestingModule } from '@angular/common/http/testing';
3-
import { ReadmeToHtmlComponent } from './readme-to-html.component';
3+
import { MarkdownViewerComponent } from './markdown-viewer.component';
44

5-
describe('ReadmeToHtmlComponent', () => {
6-
let component: ReadmeToHtmlComponent;
7-
let fixture: ComponentFixture<ReadmeToHtmlComponent>;
5+
describe('MarkdownViewerComponent', () => {
6+
let component: MarkdownViewerComponent;
7+
let fixture: ComponentFixture<MarkdownViewerComponent>;
88

99
beforeEach(async () => {
1010
await TestBed.configureTestingModule({
1111
imports: [HttpClientTestingModule],
12-
declarations: [ReadmeToHtmlComponent],
12+
declarations: [MarkdownViewerComponent],
1313
}).compileComponents();
1414
});
1515

1616
beforeEach(() => {
17-
fixture = TestBed.createComponent(ReadmeToHtmlComponent);
17+
fixture = TestBed.createComponent(MarkdownViewerComponent);
1818
component = fixture.componentInstance;
1919
fixture.detectChanges();
2020
});

src/app/component/readme-to-html/readme-to-html.component.ts renamed to src/app/component/markdown-viewer/markdown-viewer.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import * as md from 'markdown-it';
33
import { HttpClient } from '@angular/common/http';
44

55
@Component({
6-
selector: 'app-readme-to-html',
7-
templateUrl: './readme-to-html.component.html',
8-
styleUrls: ['./readme-to-html.component.css'],
6+
selector: 'app-markdown-viewer',
7+
templateUrl: './markdown-viewer.component.html',
8+
styleUrls: ['./markdown-viewer.component.css'],
99
})
10-
export class ReadmeToHtmlComponent implements OnInit {
10+
export class MarkdownViewerComponent implements OnInit {
1111
@Input() MDFile: string = '';
1212
markdown: md = md({
1313
html: true,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<app-top-header section="About Us"></app-top-header>
2-
<app-readme-to-html MDFile="./assets/Markdown Files/README.md"></app-readme-to-html>
2+
<app-markdown-viewer MDFile="./assets/Markdown Files/README.md"></app-markdown-viewer>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<app-top-header section="Roadmap status"></app-top-header>
22
<div class="roadmap">
3-
<app-readme-to-html MDFile="./assets/Markdown Files/TODO-headlines.md"></app-readme-to-html>
3+
<app-markdown-viewer MDFile="./assets/Markdown Files/TODO-headlines.md"></app-markdown-viewer>
44
</div>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<app-top-header section="Usage"></app-top-header>
2-
<app-readme-to-html class="usage-{{ page }}" MDFile="./assets/Markdown Files/{{ page }}.md">
3-
</app-readme-to-html>
2+
<app-markdown-viewer class="usage-{{ page }}" MDFile="./assets/Markdown Files/{{ page }}.md">
3+
</app-markdown-viewer>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<app-top-header section="SAMM & DSOMM User Day 2026"></app-top-header>
22
<div class="userday">
3-
<app-readme-to-html MDFile="./assets/Markdown Files/userday2026-eur.md"></app-readme-to-html>
3+
<app-markdown-viewer MDFile="./assets/Markdown Files/userday2026-eur.md"></app-markdown-viewer>
44

55
<div class="userday-inline">
66
<h2>Archive</h2>
77
Previous DSOMM User Day pages with the full list of talks, downloadable material, and YouTube
88
links.
99
</div>
1010

11-
<app-readme-to-html MDFile="./assets/Markdown Files/userday2025.md"></app-readme-to-html>
12-
<app-readme-to-html MDFile="./assets/Markdown Files/userday2024.md"></app-readme-to-html>
11+
<app-markdown-viewer MDFile="./assets/Markdown Files/userday2025.md"></app-markdown-viewer>
12+
<app-markdown-viewer MDFile="./assets/Markdown Files/userday2024.md"></app-markdown-viewer>
1313
</div>

0 commit comments

Comments
 (0)