<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mermaid on Solarized Sublime Sekai</title>
    <link>https://vincenttam.gitlab.io/tags/mermaid/</link>
    <description>Recent content in Mermaid on Solarized Sublime Sekai</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 11 Jun 2022 00:14:49 +0200</lastBuildDate>
    <atom:link href="https://vincenttam.gitlab.io/tags/mermaid/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pandoc LaTeX Mermaid on GitLab CI</title>
      <link>https://vincenttam.gitlab.io/post/2020-08-28-pandoc-latex-mermaid-on-gitlab-ci/</link>
      <pubDate>Fri, 28 Aug 2020 09:26:29 +0200</pubDate>
      <guid>https://vincenttam.gitlab.io/post/2020-08-28-pandoc-latex-mermaid-on-gitlab-ci/</guid>
      <description>&lt;h3 id=&#34;goal&#34;&gt;Goal&lt;/h3&gt;&#xA;&lt;p&gt;To provide an open-source alternative to the Docker image&#xA;&lt;a href=&#34;https://hub.docker.com/r/escalope/pandoc-mermaid-plantuml&#34;&gt;escalope/pandoc-mermaid-plantuml&lt;/a&gt;, whose &lt;code&gt;Dockerfile&lt;/code&gt; isn&amp;rsquo;t&#xA;available.&lt;/p&gt;&#xA;&lt;p&gt;The rationale behind these difficult setup is simple: construct informative&#xA;&lt;a href=&#34;https://mermaid-js.github.io/&#34;&gt;Mermaid&lt;/a&gt; diagram with intuitive &lt;a href=&#34;https://daringfireball.net/projects/markdown&#34;&gt;Markdown&lt;/a&gt; syntax in an open-source and&#xA;economic way.&lt;/p&gt;&#xA;&lt;p&gt;This &lt;a href=&#34;https://gitlab.com/VincentTam/pandoc-mermaid-docker/container_registry&#34;&gt;newly constructed Docker image&lt;/a&gt; is entirely on GitLab.  No&#xA;Docker Hub account is needed.  For sample usage, consult &lt;code&gt;.gitlab-ci.yml&lt;/code&gt; in&#xA;&lt;a href=&#34;https://gitlab.com/VincentTam/test_pandoc&#34;&gt;my test project&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;difficulties&#34;&gt;Difficulties&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;issues &lt;a href=&#34;https://github.com/raghur/mermaid-filter/issues/51&#34;&gt;raghur/mermaid-filter#51&lt;/a&gt; and &lt;a href=&#34;https://github.com/raghur/mermaid-filter/issues/52&#34;&gt;#52&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;issue &lt;a href=&#34;https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4566#note_199261985&#34;&gt;gitlab-org/gitlab-runner#4566&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;useful-codearticles&#34;&gt;Useful code/articles&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/time-machine-project/requests-for-comments/blob/470b0c5fdb8c1375ab8726c86b453cb9945e4be2/build/Dockerfile&#34;&gt;time-machine-project/requests-for-comments@&lt;code&gt;470b0c5&lt;/code&gt;&lt;/a&gt; &lt;code&gt;Dockerfile&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sandtable.com/reduce-docker-image-sizes-using-alpine/&#34;&gt;&lt;em&gt;Reduce Docker Image Sizes Using Alpine&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/&#34;&gt;&lt;em&gt;Best practices for building docker images with GitLab CI&lt;/em&gt;&lt;/a&gt;&#xA;with &lt;a href=&#34;https://gist.github.com/florentchauveau/2dc4da0299d42258606fc3b0e148fc07&#34;&gt;the accompanying gist&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The code block in the highlighted comment in item 2 of the above section&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://pandoc.org/installing.html#docker&#34;&gt;pandoc installation for Docker&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sample &lt;code&gt;Dockerfile&lt;/code&gt; for Alpine Linux in the &lt;a href=&#34;https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-on-alpine&#34;&gt;troubleshooting of Puppeteer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/sc250024/docker-mermaid-cli/blob/3c9ddb5fa7f240bbc96488674ae506ec091735d8/src/puppeteerConfigFile.json&#34;&gt;sc250024/docker-mermaid-cli@&lt;code&gt;3c9ddb5&lt;/code&gt;&lt;/a&gt; &lt;code&gt;src/puppeteerConfigFile.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/raghur/mermaid-filter&#34;&gt;raghur/mermaid-filter&lt;/a&gt; project README&amp;rsquo;s section about Puppeteer config&#xA;file&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
  </channel>
</rss>
