mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-10-21 01:34:22 +00:00
feat: finish markup converters
Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
1 parent
4b8607b12a
commit
3de9bfc58c
4 files changed
+61
-20
No files matched your search
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>{{ .Title }}</title>
|
||||
<link rel="stylesheet" href="/assets/index-bab4abd8.css">
|
||||
<link rel="stylesheet" href="/assets/index-544d9ea3.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="text-2xl">Hello, World!</h1>
|
||||
|
||||
Vendored
+5
-5
@@ -14,7 +14,7 @@
|
||||
rel="stylesheet">
|
||||
|
||||
<title>{{ .Title }}</title>
|
||||
<link rel="stylesheet" href="/assets/show-1b4526c3.css">
|
||||
<link rel="stylesheet" href="/assets/show-7a43d2b5.css">
|
||||
</head>
|
||||
|
||||
<body class="flex flex-col h-full w-full items-center">
|
||||
@@ -22,11 +22,11 @@
|
||||
<h2 class="text-2xl">{{.Title}}</h2>
|
||||
<p><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
|
||||
{{range .Nodes}}
|
||||
{{if eq .type "H3"}}
|
||||
<h3>.text</h3>
|
||||
{{if eq .Type "H3"}}
|
||||
<h3>{{.Text}}</h3>
|
||||
{{end}}
|
||||
{{if eq .type "IMG"}}
|
||||
<h3>.text</h3>
|
||||
{{if eq .Type "IMG"}}
|
||||
|
||||
{{end}}
|
||||
{{end}}
|
||||
</article>
|
||||
|
||||
Reference in new issue
Block a user