themed-markdown 0.1.0 → 0.1.2
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/dist/index.css +65 -35
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7078 -20738
- package/dist/index.mjs +29671 -0
- package/dist/industryMarkdown/components/DocumentView.d.ts +23 -0
- package/dist/industryMarkdown/components/DocumentView.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts +14 -0
- package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts +13 -0
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts +16 -0
- package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts +14 -0
- package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts +44 -0
- package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts +102 -0
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts +16 -0
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts +22 -0
- package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts +11 -0
- package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts +12 -0
- package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts.map +1 -0
- package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts +12 -0
- package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts.map +1 -0
- package/dist/industryMarkdown/components/SlidePresentation.d.ts +22 -0
- package/dist/industryMarkdown/components/SlidePresentation.d.ts.map +1 -0
- package/dist/industryMarkdown/index.d.ts +19 -0
- package/dist/industryMarkdown/index.d.ts.map +1 -0
- package/dist/industryMarkdown/types/customMarkdownChunks.d.ts +24 -0
- package/dist/industryMarkdown/types/customMarkdownChunks.d.ts.map +1 -0
- package/dist/industryMarkdown/types/keyboard.d.ts +18 -0
- package/dist/industryMarkdown/types/keyboard.d.ts.map +1 -0
- package/dist/industryMarkdown/types/markdownComponents.d.ts +48 -0
- package/dist/industryMarkdown/types/markdownComponents.d.ts.map +1 -0
- package/dist/industryMarkdown/types/presentation.d.ts +66 -0
- package/dist/industryMarkdown/types/presentation.d.ts.map +1 -0
- package/dist/industryMarkdown/utils/bashCommandParser.d.ts +14 -0
- package/dist/industryMarkdown/utils/bashCommandParser.d.ts.map +1 -0
- package/dist/industryMarkdown/utils/componentUtils.d.ts +15 -0
- package/dist/industryMarkdown/utils/componentUtils.d.ts.map +1 -0
- package/dist/industryMarkdown/utils/imageUrlUtils.d.ts +15 -0
- package/dist/industryMarkdown/utils/imageUrlUtils.d.ts.map +1 -0
- package/dist/industryMarkdown/utils/markdownUtils.d.ts +6 -0
- package/dist/industryMarkdown/utils/markdownUtils.d.ts.map +1 -0
- package/dist/industryMarkdown/utils/presentationUtils.d.ts +52 -0
- package/dist/industryMarkdown/utils/presentationUtils.d.ts.map +1 -0
- package/dist/industryTheme/ThemeProvider.d.ts +24 -0
- package/dist/industryTheme/ThemeProvider.d.ts.map +1 -0
- package/dist/industryTheme/index.d.ts +146 -0
- package/dist/industryTheme/index.d.ts.map +1 -0
- package/dist/industryTheme/utils.d.ts +32 -0
- package/dist/industryTheme/utils.d.ts.map +1 -0
- package/dist/tests/markdown-slide-tests/presentationUtils.test.d.ts +2 -0
- package/dist/tests/markdown-slide-tests/presentationUtils.test.d.ts.map +1 -0
- package/package.json +10 -4
package/dist/index.css
CHANGED
|
@@ -1,60 +1,90 @@
|
|
|
1
|
-
/* node_modules/highlight.js/styles/atom-one-dark.css */
|
|
2
1
|
pre code.hljs {
|
|
3
2
|
display: block;
|
|
4
3
|
overflow-x: auto;
|
|
5
|
-
padding: 1em
|
|
4
|
+
padding: 1em
|
|
6
5
|
}
|
|
7
|
-
|
|
8
6
|
code.hljs {
|
|
9
|
-
padding: 3px 5px
|
|
7
|
+
padding: 3px 5px
|
|
10
8
|
}
|
|
9
|
+
/*
|
|
10
|
+
|
|
11
|
+
Atom One Dark by Daniel Gamage
|
|
12
|
+
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
|
|
11
13
|
|
|
14
|
+
base: #282c34
|
|
15
|
+
mono-1: #abb2bf
|
|
16
|
+
mono-2: #818896
|
|
17
|
+
mono-3: #5c6370
|
|
18
|
+
hue-1: #56b6c2
|
|
19
|
+
hue-2: #61aeee
|
|
20
|
+
hue-3: #c678dd
|
|
21
|
+
hue-4: #98c379
|
|
22
|
+
hue-5: #e06c75
|
|
23
|
+
hue-5-2: #be5046
|
|
24
|
+
hue-6: #d19a66
|
|
25
|
+
hue-6-2: #e6c07b
|
|
26
|
+
|
|
27
|
+
*/
|
|
12
28
|
.hljs {
|
|
13
29
|
color: #abb2bf;
|
|
14
|
-
background: #282c34
|
|
30
|
+
background: #282c34
|
|
15
31
|
}
|
|
16
|
-
|
|
17
|
-
.hljs-
|
|
32
|
+
.hljs-comment,
|
|
33
|
+
.hljs-quote {
|
|
18
34
|
color: #5c6370;
|
|
19
|
-
font-style: italic
|
|
35
|
+
font-style: italic
|
|
20
36
|
}
|
|
21
|
-
|
|
22
|
-
.hljs-
|
|
23
|
-
|
|
37
|
+
.hljs-doctag,
|
|
38
|
+
.hljs-keyword,
|
|
39
|
+
.hljs-formula {
|
|
40
|
+
color: #c678dd
|
|
24
41
|
}
|
|
25
|
-
|
|
26
|
-
.hljs-
|
|
27
|
-
|
|
42
|
+
.hljs-section,
|
|
43
|
+
.hljs-name,
|
|
44
|
+
.hljs-selector-tag,
|
|
45
|
+
.hljs-deletion,
|
|
46
|
+
.hljs-subst {
|
|
47
|
+
color: #e06c75
|
|
28
48
|
}
|
|
29
|
-
|
|
30
49
|
.hljs-literal {
|
|
31
|
-
color: #56b6c2
|
|
50
|
+
color: #56b6c2
|
|
32
51
|
}
|
|
33
|
-
|
|
34
|
-
.hljs-
|
|
35
|
-
|
|
52
|
+
.hljs-string,
|
|
53
|
+
.hljs-regexp,
|
|
54
|
+
.hljs-addition,
|
|
55
|
+
.hljs-attribute,
|
|
56
|
+
.hljs-meta .hljs-string {
|
|
57
|
+
color: #98c379
|
|
36
58
|
}
|
|
37
|
-
|
|
38
|
-
.hljs-
|
|
39
|
-
|
|
59
|
+
.hljs-attr,
|
|
60
|
+
.hljs-variable,
|
|
61
|
+
.hljs-template-variable,
|
|
62
|
+
.hljs-type,
|
|
63
|
+
.hljs-selector-class,
|
|
64
|
+
.hljs-selector-attr,
|
|
65
|
+
.hljs-selector-pseudo,
|
|
66
|
+
.hljs-number {
|
|
67
|
+
color: #d19a66
|
|
40
68
|
}
|
|
41
|
-
|
|
42
|
-
.hljs-
|
|
43
|
-
|
|
69
|
+
.hljs-symbol,
|
|
70
|
+
.hljs-bullet,
|
|
71
|
+
.hljs-link,
|
|
72
|
+
.hljs-meta,
|
|
73
|
+
.hljs-selector-id,
|
|
74
|
+
.hljs-title {
|
|
75
|
+
color: #61aeee
|
|
44
76
|
}
|
|
45
|
-
|
|
46
|
-
.hljs-
|
|
47
|
-
|
|
77
|
+
.hljs-built_in,
|
|
78
|
+
.hljs-title.class_,
|
|
79
|
+
.hljs-class .hljs-title {
|
|
80
|
+
color: #e6c07b
|
|
48
81
|
}
|
|
49
|
-
|
|
50
82
|
.hljs-emphasis {
|
|
51
|
-
font-style: italic
|
|
83
|
+
font-style: italic
|
|
52
84
|
}
|
|
53
|
-
|
|
54
85
|
.hljs-strong {
|
|
55
|
-
font-weight: bold
|
|
86
|
+
font-weight: bold
|
|
56
87
|
}
|
|
57
|
-
|
|
58
88
|
.hljs-link {
|
|
59
|
-
text-decoration: underline
|
|
60
|
-
}
|
|
89
|
+
text-decoration: underline
|
|
90
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { IndustryMarkdownSlide } from './components/IndustryMarkdownSlide';
|
|
2
|
+
export type { IndustryMarkdownSlideProps } from './components/IndustryMarkdownSlide';
|
|
3
|
+
export { SlidePresentation } from './components/SlidePresentation';
|
|
4
|
+
export type { SlidePresentationProps } from './components/SlidePresentation';
|
|
5
|
+
export { DocumentView } from './components/DocumentView';
|
|
6
|
+
export type { DocumentViewProps } from './components/DocumentView';
|
|
7
|
+
export { IndustryEditableMarkdownSlide } from './components/IndustryEditableMarkdownSlide';
|
|
8
|
+
export type { IndustryEditableMarkdownSlideProps } from './components/IndustryEditableMarkdownSlide';
|
|
9
|
+
export { createIndustryMarkdownComponents } from './components/IndustryMarkdownComponents';
|
|
10
|
+
export { IndustryHtmlModal, useIndustryHtmlModal } from './components/IndustryHtmlModal';
|
|
11
|
+
export { IndustryPlaceholderModal } from './components/IndustryPlaceholderModal';
|
|
12
|
+
export { IndustryMermaidModal } from './components/IndustryMermaidModal';
|
|
13
|
+
export { IndustryLazyMermaidDiagram } from './components/IndustryLazyMermaidDiagram';
|
|
14
|
+
export { IndustryZoomableMermaidDiagram } from './components/IndustryZoomableMermaidDiagram';
|
|
15
|
+
export { parseMarkdownIntoPresentation, serializePresentationToMarkdown, updatePresentationSlide, parseMarkdownIntoPresentationFromSource, createGithubFileSource, extractSlideTitle, createPresentationWithErrorMessage, reconstructMarkdownContent, getAllSlideTitles, findSlideByTitle, findSlideIndexByTitle, updateSlideTitle, updateSlideContent, } from './utils/presentationUtils';
|
|
16
|
+
export { parseMarkdownChunks } from './utils/markdownUtils';
|
|
17
|
+
export type { MarkdownPresentation, MarkdownSlide, MarkdownPresentationFormat, MarkdownSource, MarkdownSourceType, RepositoryInfo, MarkdownSlideLocation, } from './types/presentation';
|
|
18
|
+
export type { Theme } from '../industryTheme';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../industryMarkdown/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,YAAY,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAGrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAG7E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,YAAY,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAGrG,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAG3F,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAG7F,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,EAC/B,uBAAuB,EACvB,uCAAuC,EACvC,sBAAsB,EACtB,iBAAiB,EACjB,kCAAkC,EAClC,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC"}
|