mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 09:24:54 +10:00
feat: add hide link underline option to resume settings, resolves #3134
This commit is contained in:
@@ -227,6 +227,10 @@ describe("ReactiveResumeV4JSONImporter — broad section mapping", () => {
|
||||
expect(result.picture.borderWidth).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
it("maps v4 underline link preference to the v5 hide underline page setting", () => {
|
||||
expect(result.metadata.page.hideLinkUnderline).toBe(true);
|
||||
});
|
||||
|
||||
it("maps summary content", () => {
|
||||
expect(result.summary.content).toBe("<p>About me</p>");
|
||||
expect(result.summary.hidden).toBe(false);
|
||||
|
||||
@@ -744,6 +744,7 @@ export class ReactiveResumeV4JSONImporter {
|
||||
marginY: nonNegative(v4Data.metadata.page?.margin ?? 14),
|
||||
format: v4Data.metadata.page?.format ?? "a4",
|
||||
locale: "en-US",
|
||||
hideLinkUnderline: v4Data.metadata.typography?.underlineLinks === false,
|
||||
hideIcons: v4Data.metadata.typography?.hideIcons ?? false,
|
||||
hideSectionIcons: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user