tikzify 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tikzify",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "exports": "./src/index.ts",
6
6
  "files": [
package/src/book.ts CHANGED
@@ -8,7 +8,7 @@ type Page = z.infer<typeof Page>
8
8
  const Page = z.object({
9
9
  gradient: gradient,
10
10
  textBg: z.string(),
11
- text: z.array(z.string()),
11
+ text: z.string().max(1024),
12
12
  emojis: z.object({
13
13
  text: z.array(Emoji).length(3),
14
14
  image: z.array(Emoji).length(3),
@@ -143,7 +143,7 @@ ${esText}
143
143
  \begin{minipage}{10cm}
144
144
  \Huge
145
145
  \raggedleft
146
- ${page.text.map(line => line.trim()).join('\\\\')}
146
+ ${page.text}
147
147
  \end{minipage}
148
148
  \end{center}
149
149
  \vspace*{\fill}
package/src/cover.ts CHANGED
@@ -12,7 +12,7 @@ export const Cover = z.object({
12
12
  title: z.string().max(64),
13
13
  author: z.string().max(32),
14
14
  tagline: z.string().max(128),
15
- blurb: z.array(z.string().max(512)).max(3),
15
+ blurb: z.string().max(512),
16
16
  testimonial_quote: z.string().max(256),
17
17
  testimonial_name: z.string().max(64),
18
18
  slogan: z.string().max(64),
@@ -92,7 +92,7 @@ rectangle ++(-0.45\paperwidth, -0.6\paperheight);
92
92
  \scriptsize
93
93
  \begin{spacing}{1.5}
94
94
  \setlength{\parskip}{.8em}
95
- ${blurb.join('\n\n')}
95
+ ${blurb}
96
96
  \end{spacing}
97
97
  \vspace{\fill}
98
98