Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Word JSONResume variant support link #33

Open
renoirb opened this issue May 10, 2022 · 0 comments
Open

Make Word JSONResume variant support link #33

renoirb opened this issue May 10, 2022 · 0 comments

Comments

@renoirb
Copy link
Owner

renoirb commented May 10, 2022

                <w:hlink w:dest="https://webplatform.github.io/">
                  <w:r wsp:rsidRPr="00FF7F68">
                    <w:rPr>
                      <w:rStyle w:val="Hyperlink" />
                    </w:rPr>
                    <w:t>WebPlatform.org</w:t>
                  </w:r>
                </w:hlink>

Something similar to this, but that doesn’t work.

diff --git a/lib/runtime/ResumeFodder/template-refined.xml b/lib/runtime/ResumeFodder/template-refined.xml
index 40180421..6e7d33b1 100644
--- a/lib/runtime/ResumeFodder/template-refined.xml
+++ b/lib/runtime/ResumeFodder/template-refined.xml
@@ -1206,6 +1206,14 @@
 				<w:u w:val="single" />
 			</w:rPr>
 		</w:style>
+		<w:style w:type="character" w:styleId="UnresolvedMention">
+			<w:name w:val="Unresolved Mention" />
+			<w:rsid w:val="00FF7F68" />
+			<w:rPr>
+				<w:color w:val="605E5C" />
+				<w:shd w:val="clear" w:color="auto" w:fill="E1DFDD" />
+			</w:rPr>
+		</w:style>
 	</w:styles>
 	<w:shapeDefaults>
 		<o:shapedefaults v:ext="edit" spidmax="1026" />
@@ -1373,7 +1381,12 @@
 							</w:pPr>
 							<w:proofErr w:type="spellStart" />
 							<w:r wsp:rsidRPr="00826FD0">
-								<w:t>{{ html .Company }}</w:t>
+								<w:hlink w:dest="{{ html .Url }}">
+									<w:rPr>
+										<w:rStyle w:val="Hyperlink" />
+									</w:rPr>
+									<w:t>{{ html .Company }}!</w:t>
+								</w:hlink>
 							</w:r>
 							<w:proofErr w:type="spellEnd" />
 							<w:r wsp:rsidRPr="00826FD0">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant