This post reviews several methods for converting a Markdown (.md) formatted file to PDF, from UNIX or Linux machines.
$ pandoc How_I_got_svg-resizer_working_on_Mac_OSX.md -s -o test1.pdf
#!/usr/bin/env perl | |
# Change the mayor's name in SimCity 2000 | |
# | |
# You should probably stick with plain ASCII if you use it. | |
use strict; | |
use warnings; | |
use bytes; |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using DinkToPdf; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.Extensions.Logging; | |
using IPdfConverter = DinkToPdf.Contracts.IConverter; |
Implementing a basic plugin architecture shouldn't be a complicated task. The solution described here is working but you still have to import every plugin (inheriting from the base class).
This is my solution:
$ tree