@diplodoc/transform 4.0.0 → 4.2.0

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.
Files changed (44) hide show
  1. package/README.md +55 -20
  2. package/README.ru.md +57 -20
  3. package/dist/css/print.css +70 -0
  4. package/dist/css/print.css.map +7 -0
  5. package/dist/css/yfm.css +0 -18
  6. package/dist/css/yfm.css.map +3 -3
  7. package/dist/css/yfm.min.css +1 -1
  8. package/dist/css/yfm.min.css.map +3 -3
  9. package/dist/js/print.js +51 -0
  10. package/dist/js/print.js.map +7 -0
  11. package/dist/js/yfm.js +1 -1
  12. package/dist/js/yfm.js.map +2 -2
  13. package/dist/js/yfm.min.js +1 -1
  14. package/dist/js/yfm.min.js.map +2 -2
  15. package/lib/plugins/images/index.js +5 -0
  16. package/lib/plugins/images/index.js.map +1 -1
  17. package/lib/plugins/video/index.js +1 -0
  18. package/lib/plugins/video/index.js.map +1 -1
  19. package/package.json +12 -12
  20. package/src/js/print/index.ts +1 -0
  21. package/src/js/print/table.ts +62 -0
  22. package/src/scss/print/code.scss +9 -0
  23. package/src/scss/print/common.scss +13 -0
  24. package/src/scss/print/cut.scss +18 -0
  25. package/src/scss/print/note.scss +7 -0
  26. package/src/scss/print/table.scss +24 -0
  27. package/src/scss/print/tabs.scss +20 -0
  28. package/src/scss/print.scss +6 -0
  29. package/src/scss/yfm.scss +0 -1
  30. package/src/transform/index.ts +1 -1
  31. package/src/transform/plugins/images/index.ts +8 -0
  32. package/src/transform/plugins/video/index.ts +2 -0
  33. package/src/transform/yfmlint/index.ts +1 -1
  34. package/CHANGELOG.diplodoc.md +0 -38
  35. package/CHANGELOG.md +0 -404
  36. package/dist/js/code.d.ts +0 -1
  37. package/dist/js/cut.d.ts +0 -1
  38. package/dist/js/index.d.ts +0 -5
  39. package/dist/js/polyfill.d.ts +0 -1
  40. package/dist/js/tabs.d.ts +0 -1
  41. package/dist/js/term/index.d.ts +0 -1
  42. package/dist/js/term/utils.d.ts +0 -10
  43. package/dist/js/utils.d.ts +0 -2
  44. package/src/scss/_print.scss +0 -20
package/README.md CHANGED
@@ -1,38 +1,73 @@
1
1
  **english** | [русский](https://github.com/yandex-cloud/yfm-transform/blob/master/README.ru.md)
2
2
  - - -
3
3
 
4
- [![NPM version](https://img.shields.io/npm/v/@doc-tools/transform.svg?style=flat)](https://www.npmjs.org/package/@doc-tools/transform)
4
+ [![NPM version](https://img.shields.io/npm/v/@diplodoc/transform.svg?style=flat)](https://www.npmjs.org/package/@diplodoc/transform)
5
5
 
6
+ [@diplodoc/transform](https://www.npmjs.com/package/@diplodoc/transform) is a package for converting Yandex Flavored Markdown to HTML.
6
7
 
7
- A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML.
8
+ Use it in your code to work with text during program execution. For example, to display user-generated content.
8
9
 
9
- ## Yandex Flavored Markdown
10
+ ## Installation {#install}
10
11
 
11
- Yandex Flavored Markdown (YFM) is a Markdown dialect that is now used for
12
- [Yandex.Cloud documentation](https://cloud.yandex.com/docs), [Yandex.Cloud website content](https://cloud.yandex.com), and in
13
- a variety of internal Yandex projects.
12
+ 1. Install a package:
14
13
 
15
- The syntax is based on the CommonMark Spec, extending it with additional features. It's designed for creating
16
- a full-fledged complex documentation project, such as the Yandex.Cloud documentation.
14
+ ```shell
15
+ npm i @diplodoc/transform
16
+ ```
17
17
 
18
- To build your documentation project in YFM, use the [@doc-tools/docs](https://www.npmjs.com/package/@doc-tools/docs) package.
18
+ 1. Add the package in your code using the `require()` or `import()` function:
19
19
 
20
- [Learn more about YFM](https://ydocs.tech)
20
+ ```javascript
21
+ const transform = require('@diplodoc/transform');
22
+ ```
21
23
 
22
- ## Source files
24
+ 1. To ensure text is displayed properly, add CSS styles and client scripts to the project:
23
25
 
24
- ### Installation
26
+ ```css
27
+ @import '~@diplodoc/transform/dist/css/yfm.css';
28
+ ```
25
29
 
26
- ```shell script
27
- git clone git@github.com:yandex-cloud/yfm-transform.git
28
- cd yfm-transform
29
- npm install
30
- ```
30
+ ```javascript
31
+ import '@diplodoc/transform/dist/js/yfm';
32
+ ```
33
+
34
+ ## Usage {#use}
35
+
36
+ The package provides the `transform()` function:
37
+
38
+ * Input data: [Settings](settings.md) and a string with YFM.
39
+ * Returned value: An object with the `result` and `logs` fields.
40
+
41
+ ### Result field
42
+
43
+ `result`: Resulting object, contains the fields:
44
+
45
+ * `html`: A line with HTML.
46
+ * `meta`: [Metadata](../../syntax/meta.md#meta) from the transmitted content.
47
+ * `title`: The document title. Returned if `extractTitle = true` or `needTitle = true`.
48
+ * `headings`: A list of document headers.
49
+
50
+ ### Logs field
51
+
52
+ `logs`: Information about the transformation process, includes arrays:
53
+
54
+ * `error`: Errors.
55
+ * `warn`: Warnings.
56
+ * `info`: Additional information.
57
+
58
+ ### Example of a function invocation
59
+
60
+ ```javascript
61
+ const fs = require('fs');
62
+ const transform = require('@diplodoc/transform');
31
63
 
32
- When you add changes to files from the SRC folder, before updating the package version, run
64
+ const content = fs.readFileSync(filePath, 'utf');
65
+ const vars = { user: { name: 'Alice' } };
33
66
 
34
- ```shell script
35
- npm run dist
67
+ const {
68
+ result: {html, meta, title, headings},
69
+ logs,
70
+ } = transform(content, {vars});
36
71
  ```
37
72
 
38
73
  ## License
package/README.ru.md CHANGED
@@ -1,36 +1,73 @@
1
1
  **русский** | [english](https://github.com/yandex-cloud/yfm-transform/blob/master/README.md)
2
2
  - - -
3
3
 
4
- [![NPM version](https://img.shields.io/npm/v/@doc-tools/transform.svg?style=flat)](https://www.npmjs.org/package/@doc-tools/transform)
4
+ [![NPM version](https://img.shields.io/npm/v/@diplodoc/transform.svg?style=flat)](https://www.npmjs.org/package/@diplodoc/transform)
5
5
 
6
- Простой трансформер текста на YFM (Yandex Flavored Markdown) в HTML.
6
+ [@diplodoc/transform](https://www.npmjs.com/package/@diplodoc/transform) пакет для трансформации Yandex Flavored Markdown в HTML.
7
7
 
8
- ## Yandex Flavored Markdown
8
+ Используйте его в своем коде для работы с текстом во время выполнения программы. Например, чтобы отображать пользовательский контент.
9
9
 
10
- Yandex Flavored Markdown (YFM) является диалектом Markdown, который используется сейчас для
11
- [документации Яндекс.Облака](https://cloud.yandex.ru/docs), [контента сайта Я.Облака](https://cloud.yandex.ru) и в
12
- различных внутренних проектах Яндекса.
10
+ ## Установка {#install}
13
11
 
14
- Синтаксис базируется на CommonMark Spec, расширяя его дополнительными возможностями. В том числе, для создания
15
- полноценного сложного документационного проекта, такого как документация Яндекс.Облака.
12
+ 1. Установите пакет:
16
13
 
17
- Для сборки своего документационного проекта на YFM вы можете использовать пакет [@doc-tools/docs](https://www.npmjs.com/package/@doc-tools/docs).
14
+ ```shell
15
+ npm i @diplodoc/transform
16
+ ```
18
17
 
19
- [Более подробное описание YFM](https://ydocs.tech)
18
+ 1. Подключите пакет в своем коде, используя функцию `require()` или `import()`:
20
19
 
21
- ## Исходники
22
- ### Установка
23
- ```shell script
24
- git clone git@github.com:yandex-cloud/yfm-transform.git
25
- cd yfm-transform
26
- npm install
27
- ```
20
+ ```javascript
21
+ const transform = require('@diplodoc/transform');
22
+ ```
23
+
24
+ 1. Для корректного отображения подключите в проект CSS-стили и клиентские скрипты:
25
+
26
+ ```css
27
+ @import '~@diplodoc/transform/dist/css/yfm.css';
28
+ ```
29
+
30
+ ```javascript
31
+ import '@diplodoc/transform/dist/js/yfm';
32
+ ```
33
+
34
+ ## Использование {#use}
35
+
36
+ Пакет предоставляет функцию `transform()`:
37
+ * входные данные — строка с YFM и [настройки](settings.md);
38
+ * возвращаемое значение — объект с полями `result` и `logs`.
39
+
40
+ ### Поле result
28
41
 
29
- При добавлении изменений в файлы из директории src перед обновлением версии пакета нужно выполнить
30
- ```shell script
31
- npm run dist
42
+ `result` объект результата, содержит поля:
43
+ * `html` — строка с HTML.
44
+ * `meta` — [метаданные](../../syntax/meta.md#meta) из переданного контента.
45
+ * `title` — заголовок документа. Возвращается, если заданы настройки `extractTitle = true` или `needTitle = true`.
46
+ * `headings` — список заголовков документа.
47
+
48
+ ### Поле logs
49
+
50
+ `logs` — информация о процессе трансформации, включает массивы:
51
+ * `error` — ошибки.
52
+ * `warn` — предупреждения.
53
+ * `info` — дополнительная информация.
54
+
55
+ ### Пример вызова функции
56
+
57
+ ```javascript
58
+ const fs = require('fs');
59
+ const transform = require('@diplodoc/transform');
60
+
61
+ const content = fs.readFileSync(filePath, 'utf');
62
+ const vars = { user: { name: 'Alice' } };
63
+
64
+ const {
65
+ result: {html, meta, title, headings},
66
+ logs,
67
+ } = transform(content, {vars});
32
68
  ```
33
69
 
70
+
34
71
  ## License
35
72
 
36
73
  MIT
@@ -0,0 +1,70 @@
1
+ /* src/scss/print.scss */
2
+ @media print {
3
+ .yfm .yfm-clipboard > pre > code {
4
+ white-space: pre-wrap;
5
+ }
6
+ }
7
+ @media print {
8
+ .yfm .yfm-page__delimeter {
9
+ display: none;
10
+ }
11
+ .yfm h1[data-original-article],
12
+ .yfm h2[data-original-article] {
13
+ page-break-before: always;
14
+ }
15
+ }
16
+ @media print {
17
+ .yfm .yfm-cut-title {
18
+ padding-left: 0;
19
+ }
20
+ .yfm .yfm-cut-title:before {
21
+ display: none;
22
+ }
23
+ .yfm .yfm-cut-content {
24
+ height: auto;
25
+ padding: 5px 0 15px 30px;
26
+ }
27
+ }
28
+ @media print {
29
+ .yfm .yfm-note {
30
+ page-break-inside: avoid;
31
+ }
32
+ }
33
+ .yfm .yfm-table-container {
34
+ position: relative;
35
+ }
36
+ .yfm .yfm-table-container > table {
37
+ overflow: visible;
38
+ overflow: initial;
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ max-width: none;
43
+ max-width: initial;
44
+ transform-origin: top left;
45
+ }
46
+ .yfm .yfm-table-container > table thead {
47
+ display: table-row-group;
48
+ }
49
+ .yfm .yfm-table-container > table th,
50
+ .yfm .yfm-table-container > table td {
51
+ page-break-inside: avoid;
52
+ white-space: pre-wrap;
53
+ text-overflow: initial;
54
+ }
55
+ @media print {
56
+ .yfm .yfm-tab-list {
57
+ display: none;
58
+ }
59
+ .yfm .yfm-tab-panel:before {
60
+ content: attr(data-title);
61
+ margin-bottom: -1px;
62
+ margin-right: 20px;
63
+ border-bottom: 2px solid transparent;
64
+ line-height: 33px;
65
+ font-weight: 700;
66
+ outline: 0;
67
+ cursor: pointer;
68
+ }
69
+ }
70
+ /*# sourceMappingURL=print.css.map */
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/scss/home/runner/work/transform/transform/src/scss/print/code.scss", "../../src/scss/%3Cinput%20css%20bc_ZVo%3E", "../../src/scss/home/runner/work/transform/transform/src/scss/print/common.scss", "../../src/scss/home/runner/work/transform/transform/src/scss/print/cut.scss", "../../src/scss/home/runner/work/transform/transform/src/scss/print/note.scss", "../../src/scss/home/runner/work/transform/transform/src/scss/print/table.scss", "../../src/scss/home/runner/work/transform/transform/src/scss/print/tabs.scss"],
4
+ "sourcesContent": ["@media print {\n .yfm {\n .yfm-clipboard {\n & > pre > code {\n white-space: pre-wrap;\n }\n }\n }\n}", "@media print {\n .yfm .yfm-clipboard > pre > code {\n white-space: pre-wrap;\n }\n}\n@media print {\n .yfm .yfm-page__delimeter {\n display: none;\n }\n .yfm h1[data-original-article], .yfm h2[data-original-article] {\n page-break-before: always;\n }\n}\n@media print {\n .yfm .yfm-cut-title {\n padding-left: 0;\n }\n .yfm .yfm-cut-title:before {\n display: none;\n }\n .yfm .yfm-cut-content {\n height: auto;\n padding: 5px 0 15px 30px;\n }\n}\n@media print {\n .yfm .yfm-note {\n page-break-inside: avoid;\n }\n}\n.yfm .yfm-table-container {\n position: relative;\n}\n.yfm .yfm-table-container > table {\n overflow: initial;\n position: absolute;\n top: 0;\n left: 0;\n max-width: initial;\n transform-origin: top left;\n}\n.yfm .yfm-table-container > table thead {\n display: table-row-group;\n}\n.yfm .yfm-table-container > table th, .yfm .yfm-table-container > table td {\n page-break-inside: avoid;\n white-space: pre-wrap;\n text-overflow: initial;\n}\n\n@media print {\n .yfm .yfm-tab-list {\n display: none;\n }\n .yfm .yfm-tab-panel:before {\n content: attr(data-title);\n margin-bottom: -1px;\n margin-right: 20px;\n border-bottom: 2px solid transparent;\n line-height: 33px;\n font-weight: 700;\n outline: 0;\n cursor: pointer;\n }\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL2hvbWUvcnVubmVyL3dvcmsvdHJhbnNmb3JtL3RyYW5zZm9ybS9zcmMvc2NzcyIsInNvdXJjZXMiOlsicHJpbnQvY29kZS5zY3NzIiwicHJpbnQvY29tbW9uLnNjc3MiLCJwcmludC9jdXQuc2NzcyIsInByaW50L25vdGUuc2NzcyIsInByaW50L3RhYmxlLnNjc3MiLCJwcmludC90YWJzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFHWTtJQUNJOzs7QUNKaEI7RUFFUTtJQUNJOztFQUlBO0lBQ0k7OztBQ1JoQjtFQUdZO0lBQ0k7O0VBRUE7SUFDSTs7RUFJUjtJQUNJO0lBQ0E7OztBQ2JoQjtFQUVRO0lBQ0k7OztBQ0ZSO0VBQ0k7O0FBRUE7RUFDSTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDSTs7QUFHSjtFQUNJO0VBQ0E7RUFDQTs7O0FDbkJoQjtFQUdZO0lBQ0k7O0VBR0o7SUFDSTtJQUNBO0lBQ0E7SUFDQTtJQUNBO0lBQ0E7SUFDQTtJQUNBIiwic291cmNlc0NvbnRlbnQiOlsiQG1lZGlhIHByaW50IHtcbiAgICAueWZtIHtcbiAgICAgICAgLnlmbS1jbGlwYm9hcmQge1xuICAgICAgICAgICAgJiA+IHByZSA+IGNvZGUge1xuICAgICAgICAgICAgICAgIHdoaXRlLXNwYWNlOiBwcmUtd3JhcDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn0iLCJAbWVkaWEgcHJpbnQge1xuICAgIC55Zm0ge1xuICAgICAgICAueWZtLXBhZ2VfX2RlbGltZXRlciB7XG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICB9XG5cbiAgICAgICAgaDEsIGgyIHtcbiAgICAgICAgICAgICZbZGF0YS1vcmlnaW5hbC1hcnRpY2xlXSB7XG4gICAgICAgICAgICAgICAgcGFnZS1icmVhay1iZWZvcmU6IGFsd2F5cztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn0iLCJAbWVkaWEgcHJpbnQge1xuICAgIC55Zm0ge1xuICAgICAgICAueWZtLWN1dCB7XG4gICAgICAgICAgICAmLXRpdGxlIHtcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XG5cbiAgICAgICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmLWNvbnRlbnQge1xuICAgICAgICAgICAgICAgIGhlaWdodDogYXV0bztcbiAgICAgICAgICAgICAgICBwYWRkaW5nOiA1cHggMCAxNXB4IDMwcHg7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59XG4iLCJAbWVkaWEgcHJpbnQge1xuICAgIC55Zm0ge1xuICAgICAgICAueWZtLW5vdGUge1xuICAgICAgICAgICAgcGFnZS1icmVhay1pbnNpZGU6IGF2b2lkO1xuICAgICAgICB9XG4gICAgfVxufVxuIiwiLnlmbSB7XG4gICAgLnlmbS10YWJsZS1jb250YWluZXIge1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgICAgICAgJiA+IHRhYmxlIHtcbiAgICAgICAgICAgIG92ZXJmbG93OiBpbml0aWFsO1xuICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgdG9wOiAwO1xuICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgIG1heC13aWR0aDogaW5pdGlhbDtcbiAgICAgICAgICAgIHRyYW5zZm9ybS1vcmlnaW46IHRvcCBsZWZ0O1xuXG4gICAgICAgICAgICB0aGVhZCB7XG4gICAgICAgICAgICAgICAgZGlzcGxheTogdGFibGUtcm93LWdyb3VwO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB0aCwgdGQge1xuICAgICAgICAgICAgICAgIHBhZ2UtYnJlYWstaW5zaWRlOiBhdm9pZDtcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7XG4gICAgICAgICAgICAgICAgdGV4dC1vdmVyZmxvdzogaW5pdGlhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn0iLCJAbWVkaWEgcHJpbnQge1xuICAgIC55Zm0ge1xuICAgICAgICAueWZtLXRhYiB7XG4gICAgICAgICAgICAmLWxpc3Qge1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYtcGFuZWw6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICBjb250ZW50OiBhdHRyKGRhdGEtdGl0bGUpO1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IC0xcHg7XG4gICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAyMHB4O1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICBsaW5lLWhlaWdodDogMzNweDtcbiAgICAgICAgICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICAgICAgICAgIG91dGxpbmU6IDA7XG4gICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufVxuIl19 */", "@media print {\n .yfm {\n .yfm-page__delimeter {\n display: none;\n }\n\n h1, h2 {\n &[data-original-article] {\n page-break-before: always;\n }\n }\n }\n}", "@media print {\n .yfm {\n .yfm-cut {\n &-title {\n padding-left: 0;\n\n &:before {\n display: none;\n }\n }\n\n &-content {\n height: auto;\n padding: 5px 0 15px 30px;\n }\n }\n }\n}\n", "@media print {\n .yfm {\n .yfm-note {\n page-break-inside: avoid;\n }\n }\n}\n", ".yfm {\n .yfm-table-container {\n position: relative;\n\n & > table {\n overflow: initial;\n position: absolute;\n top: 0;\n left: 0;\n max-width: initial;\n transform-origin: top left;\n\n thead {\n display: table-row-group;\n }\n\n th, td {\n page-break-inside: avoid;\n white-space: pre-wrap;\n text-overflow: initial;\n }\n }\n }\n}", "@media print {\n .yfm {\n .yfm-tab {\n &-list {\n display: none;\n }\n\n &-panel:before {\n content: attr(data-title);\n margin-bottom: -1px;\n margin-right: 20px;\n border-bottom: 2px solid transparent;\n line-height: 33px;\n font-weight: 700;\n outline: 0;\n cursor: pointer;\n }\n }\n }\n}\n"],
5
+ "mappings": ";AAAA,OAAA;AAGY,GAAA,IAAA,CAAA,cAAA,EAAA,IAAA,EAAA;AACI,iBAAA;ACDd;AACF;ACJA,OAAA;AAEQ,GFCI,IEDJ,CAAA;AACI,aAAA;ADKV;ACDU,GFJA,IEIA,EAAA,CAAA;EAAA,CFJA,IEIA,EAAA,CAAA;AACI,uBAAA;ADGd;AACF;AEZA,OAAA;AAGY,GHAA,IGAA,CAAA;AACI,kBAAA;AFYd;AEVc,GHHJ,IGGI,CAHJ,aAGI;AACI,aAAA;AFYlB;AERU,GHRA,IGQA,CAAA;AACI,YAAA;AACA,aAAA,IAAA,EAAA,KAAA;AFUd;AACF;AGxBA,OAAA;AAEQ,GJCI,IIDJ,CAAA;AACI,uBAAA;AHyBV;AACF;AI5BI,CLEQ,IKFR,CAAA;AACI,YAAA;AJ8BR;AI5BQ,CLDI,IKCJ,CAHJ,oBAGI,EAAA;AACI,YAAA;AAAA,YAAA;AACA,YAAA;AACA,OAAA;AACA,QAAA;AACA,aAAA;AAAA,aAAA;AACA,oBAAA,IAAA;AJ8BZ;AI5BY,CLTA,IKSA,CAXR,oBAWQ,EAAA,MAAA;AACI,WAAA;AJ8BhB;AI3BY,CLbA,IKaA,CAfR,oBAeQ,EAAA,MAAA;AAAA,CLbA,IKaA,CAfR,oBAeQ,EAAA,MAAA;AACI,qBAAA;AACA,eAAA;AACA,iBAAA;AJ6BhB;AKhDA,OAAA;AAGY,GNAA,IMAA,CAAA;AACI,aAAA;ALiDd;AK9CU,GNJA,IMIA,CAAA,aAAA;AACI,aAAA,KAAA;AACA,mBAAA;AACA,kBAAA;AACA,mBAAA,IAAA,MAAA;AACA,iBAAA;AACA,iBAAA;AACA,aAAA;AACA,YAAA;ALgDd;AACF;",
6
+ "names": []
7
+ }
package/dist/css/yfm.css CHANGED
@@ -543,24 +543,6 @@
543
543
  right: 16px;
544
544
  z-index: 1;
545
545
  }
546
- @media print {
547
- .tab-list {
548
- display: none !important;
549
- }
550
- .tab-panel:before {
551
- content: attr(data-title);
552
- margin-bottom: -1px;
553
- margin-right: 20px;
554
- border-bottom: 2px solid transparent;
555
- line-height: 33px;
556
- font-weight: 700;
557
- outline: 0;
558
- cursor: pointer;
559
- }
560
- .tab-panel {
561
- display: block !important;
562
- }
563
- }
564
546
  .yfm-cut-title {
565
547
  cursor: pointer;
566
548
  position: relative;