forked from BaileyJM02/markdown-to-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (40 loc) · 1.52 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# action.yml
name: 'Markdown to PDF and HTML WIDE'
description: 'Creates PDF and HTML files from Markdown using the GitHub (or custom) theme.'
runs:
using: 'docker'
image: 'docker://twohorus/markdown-to-pdf:latest'
inputs:
input_dir:
description: '(Path) The location of the folder containing your .md or .markdown files'
required: true
images_dir:
description: '(Path) The location of the folder containing your images, this should be the route of all images'
required: false
image_import:
description: '(String) The path you use to import your images that can be replaced with the server URL'
required: false
output_dir:
description: '(Path) The location of the folder you want to place the built files'
required: false
build_html:
description: '(Boolean) Whether to also create a .html file'
required: false
theme:
description: '(File) The location of the CSS file you want to use as the theme'
required: false
extend_default_theme:
description: '(Boolean) Whether to extend your custom CSS file with the default theme'
required: false
highlight_theme:
description: '(File) The location of the CSS file you want to use as the code snipped highlight theme'
required: false
template:
description: '(File) The location of the HTML/Mustache file you want to use as the HTML template'
required: false
table_of_contents:
description: '(Boolean) Whether a table of contents should be generated'
required: false
branding:
icon: 'book'
color: 'green'