@foblex/m-render 2.5.1
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/LICENSE +21 -0
- package/README.md +33 -0
- package/assets/fonts/inter-italic-latin-ext.woff2 +0 -0
- package/assets/fonts/inter-italic-latin.woff2 +0 -0
- package/assets/fonts/inter-roman-latin-ext.woff2 +0 -0
- package/assets/fonts/inter-roman-latin.woff2 +0 -0
- package/assets/styles/_alert.scss +50 -0
- package/assets/styles/_badge.scss +63 -0
- package/assets/styles/_button.scss +42 -0
- package/assets/styles/_code-group.scss +45 -0
- package/assets/styles/_code-highlight.scss +96 -0
- package/assets/styles/_code-view.scss +91 -0
- package/assets/styles/_doc-text.scss +124 -0
- package/assets/styles/_fonts.scss +41 -0
- package/assets/styles/_icons.scss +158 -0
- package/assets/styles/_preview-group.scss +11 -0
- package/assets/styles/_variables.scss +287 -0
- package/assets/styles/styles.scss +75 -0
- package/esm2022/foblex-m-render.mjs +5 -0
- package/esm2022/lib/common-services/analytics/f-accept-cookies-key.mjs +2 -0
- package/esm2022/lib/common-services/analytics/f-analytics.service.mjs +52 -0
- package/esm2022/lib/common-services/analytics/i-window-with-analytics.mjs +2 -0
- package/esm2022/lib/common-services/analytics/index.mjs +5 -0
- package/esm2022/lib/common-services/analytics/set-cookie-consent.mjs +32 -0
- package/esm2022/lib/common-services/f-head-tag.service.mjs +52 -0
- package/esm2022/lib/common-services/index.mjs +4 -0
- package/esm2022/lib/common-services/json-ld/f-json-ld.service.mjs +51 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld-creator.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld-entity-of-page.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/i-json-ld.mjs +2 -0
- package/esm2022/lib/common-services/json-ld/index.mjs +5 -0
- package/esm2022/lib/domain/f-environment.service.mjs +66 -0
- package/esm2022/lib/domain/f-meta.service.mjs +77 -0
- package/esm2022/lib/domain/f-popover.service.mjs +25 -0
- package/esm2022/lib/domain/f-state.service.mjs +27 -0
- package/esm2022/lib/domain/features/get-version-handler/get-version.handler.mjs +27 -0
- package/esm2022/lib/domain/features/get-version-handler/get-version.request.mjs +6 -0
- package/esm2022/lib/domain/features/get-version-handler/index.mjs +3 -0
- package/esm2022/lib/domain/features/handle-navigation-links/handle-navigation-links.handler.mjs +51 -0
- package/esm2022/lib/domain/features/handle-navigation-links/handle-navigation-links.request.mjs +6 -0
- package/esm2022/lib/domain/features/handle-navigation-links/index.mjs +3 -0
- package/esm2022/lib/domain/features/index.mjs +3 -0
- package/esm2022/lib/domain/i-docs-component.mjs +2 -0
- package/esm2022/lib/domain/i-docs-environment.mjs +2 -0
- package/esm2022/lib/domain/i-docs-footer-navigation.mjs +2 -0
- package/esm2022/lib/domain/i-docs-header-navigation-item.mjs +2 -0
- package/esm2022/lib/domain/i-docs-social-link.mjs +2 -0
- package/esm2022/lib/domain/i-docs-table-of-content.mjs +2 -0
- package/esm2022/lib/domain/i-docs-version.mjs +2 -0
- package/esm2022/lib/domain/i-meta-data.mjs +2 -0
- package/esm2022/lib/domain/index.mjs +15 -0
- package/esm2022/lib/domain/providers.mjs +3 -0
- package/esm2022/lib/domain/router.mjs +13 -0
- package/esm2022/lib/f-documentation/f-badge/f-badge.component.mjs +22 -0
- package/esm2022/lib/f-documentation/f-badge/index.mjs +2 -0
- package/esm2022/lib/f-documentation/f-checkbox/f-checkbox.component.mjs +70 -0
- package/esm2022/lib/f-documentation/f-cookie-popup/f-cookie-popup.component.mjs +33 -0
- package/esm2022/lib/f-documentation/f-documentation.component.mjs +56 -0
- package/esm2022/lib/f-documentation/f-hamburger-button/f-hamburger-button.component.mjs +24 -0
- package/esm2022/lib/f-documentation/f-header/f-header.component.mjs +30 -0
- package/esm2022/lib/f-documentation/f-header-menu/f-header-menu.component.mjs +29 -0
- package/esm2022/lib/f-documentation/f-preview/f-preview.component.mjs +58 -0
- package/esm2022/lib/f-documentation/f-social-links/f-social-links.component.mjs +18 -0
- package/esm2022/lib/f-documentation/f-theme-button/f-theme-button.component.mjs +41 -0
- package/esm2022/lib/f-documentation/f-version/f-version.component.mjs +19 -0
- package/esm2022/lib/f-documentation/i-documentation-component.mjs +3 -0
- package/esm2022/lib/f-documentation/index.mjs +13 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-group.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-item-badge.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/i-navigation-item.mjs +2 -0
- package/esm2022/lib/f-navigation-panel/domain/index.mjs +4 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-group/f-navigation-group.component.mjs +22 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-header/f-navigation-header.component.mjs +24 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-item/f-navigation-item.component.mjs +11 -0
- package/esm2022/lib/f-navigation-panel/f-navigation-panel.component.mjs +94 -0
- package/esm2022/lib/f-navigation-panel/index.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.handler.mjs +102 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-dynamic-components/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.handler.mjs +34 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/i-parsed-container.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/index.mjs +5 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/copy-to-clipboard.mjs +15 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-async-code-view-handler.mjs +46 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/f-code-group.handler.mjs +51 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/i-code-group-view.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group-body.handler.mjs +45 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-view-handler.mjs +60 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-example-view-handler.mjs +9 -0
- package/esm2022/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/index.mjs +7 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/change-code-focused-syntax.pre-processor.mjs +23 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/highlight.service.mjs +54 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/index.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/mark-code-focused-blocks.post-processor.mjs +52 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/modify-punctuation-highlight.post-processor.mjs +22 -0
- package/esm2022/lib/f-page/f-markdown/domain/highlight/separate-code-by-lines.post-processor.mjs +28 -0
- package/esm2022/lib/f-page/f-markdown/domain/index.mjs +5 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/index.mjs +4 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/markdown.service.mjs +65 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/e-markdown-container-type.mjs +13 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/i-markdown-it-token.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/index.mjs +8 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-alerts.mjs +19 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-group.mjs +54 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-view.mjs +15 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-example-group.mjs +92 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-preview-group.mjs +49 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/utils/get-content.mjs +17 -0
- package/esm2022/lib/f-page/f-markdown/domain/markdown/utils/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown/f-markdown-renderer.component.mjs +80 -0
- package/esm2022/lib/f-page/f-markdown/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.handler.mjs +36 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.request.mjs +6 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.response.mjs +7 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/index.mjs +4 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/features/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/i-page-link.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/domain/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-information.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/f-footer-edit-link.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/f-footer-last-updated.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-edit-information/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/f-footer-navigation-button.component.mjs +17 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/index.mjs +2 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation.component.mjs +11 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-footer-navigation/index.mjs +3 -0
- package/esm2022/lib/f-page/f-markdown-footer/f-markdown-footer.component.mjs +82 -0
- package/esm2022/lib/f-page/f-markdown-footer/index.mjs +5 -0
- package/esm2022/lib/f-page/f-page.component.mjs +18 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content-items/f-table-of-content-items.component.mjs +16 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content-items/index.mjs +2 -0
- package/esm2022/lib/f-page/f-table-of-content/f-table-of-content.component.mjs +63 -0
- package/esm2022/lib/f-page/f-table-of-content/index.mjs +3 -0
- package/esm2022/lib/f-page/index.mjs +5 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.handler.mjs +51 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.request.mjs +6 -0
- package/esm2022/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.handler.mjs +14 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.request.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/get-absolute-top-to-container/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.handler.mjs +52 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.request.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/get-table-of-content-data/index.mjs +3 -0
- package/esm2022/lib/f-scrollable-container/domain/i-table-of-content-item.mjs +2 -0
- package/esm2022/lib/f-scrollable-container/domain/index.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/domain/scroll-to-element-in-container.mjs +34 -0
- package/esm2022/lib/f-scrollable-container/domain/table-of-content-data.mjs +7 -0
- package/esm2022/lib/f-scrollable-container/f-scrollable-container.component.mjs +30 -0
- package/esm2022/lib/f-scrollable-container/f-scrollable.service.mjs +57 -0
- package/esm2022/lib/f-scrollable-container/index.mjs +3 -0
- package/esm2022/lib/index.mjs +7 -0
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/foblex-m-render.mjs +2405 -0
- package/fesm2022/foblex-m-render.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/common-services/analytics/f-accept-cookies-key.d.ts +1 -0
- package/lib/common-services/analytics/f-analytics.service.d.ts +10 -0
- package/lib/common-services/analytics/i-window-with-analytics.d.ts +5 -0
- package/lib/common-services/analytics/index.d.ts +4 -0
- package/lib/common-services/analytics/set-cookie-consent.d.ts +6 -0
- package/lib/common-services/f-head-tag.service.d.ts +20 -0
- package/lib/common-services/index.d.ts +3 -0
- package/lib/common-services/json-ld/f-json-ld.service.d.ts +12 -0
- package/lib/common-services/json-ld/i-json-ld-creator.d.ts +7 -0
- package/lib/common-services/json-ld/i-json-ld-entity-of-page.d.ts +3 -0
- package/lib/common-services/json-ld/i-json-ld.d.ts +9 -0
- package/lib/common-services/json-ld/index.d.ts +4 -0
- package/lib/domain/f-environment.service.d.ts +23 -0
- package/lib/domain/f-meta.service.d.ts +20 -0
- package/lib/domain/f-popover.service.d.ts +10 -0
- package/lib/domain/f-state.service.d.ts +13 -0
- package/lib/domain/features/get-version-handler/get-version.handler.d.ts +13 -0
- package/lib/domain/features/get-version-handler/get-version.request.d.ts +5 -0
- package/lib/domain/features/get-version-handler/index.d.ts +2 -0
- package/lib/domain/features/handle-navigation-links/handle-navigation-links.handler.d.ts +19 -0
- package/lib/domain/features/handle-navigation-links/handle-navigation-links.request.d.ts +4 -0
- package/lib/domain/features/handle-navigation-links/index.d.ts +2 -0
- package/lib/domain/features/index.d.ts +2 -0
- package/lib/domain/i-docs-component.d.ts +5 -0
- package/lib/domain/i-docs-environment.d.ts +21 -0
- package/lib/domain/i-docs-footer-navigation.d.ts +8 -0
- package/lib/domain/i-docs-header-navigation-item.d.ts +5 -0
- package/lib/domain/i-docs-social-link.d.ts +4 -0
- package/lib/domain/i-docs-table-of-content.d.ts +7 -0
- package/lib/domain/i-docs-version.d.ts +4 -0
- package/lib/domain/i-meta-data.d.ts +12 -0
- package/lib/domain/index.d.ts +14 -0
- package/lib/domain/providers.d.ts +3 -0
- package/lib/domain/router.d.ts +2 -0
- package/lib/f-documentation/f-badge/f-badge.component.d.ts +7 -0
- package/lib/f-documentation/f-badge/index.d.ts +1 -0
- package/lib/f-documentation/f-checkbox/f-checkbox.component.d.ts +22 -0
- package/lib/f-documentation/f-cookie-popup/f-cookie-popup.component.d.ts +9 -0
- package/lib/f-documentation/f-documentation.component.d.ts +18 -0
- package/lib/f-documentation/f-hamburger-button/f-hamburger-button.component.d.ts +9 -0
- package/lib/f-documentation/f-header/f-header.component.d.ts +9 -0
- package/lib/f-documentation/f-header-menu/f-header-menu.component.d.ts +17 -0
- package/lib/f-documentation/f-preview/f-preview.component.d.ts +29 -0
- package/lib/f-documentation/f-social-links/f-social-links.component.d.ts +9 -0
- package/lib/f-documentation/f-theme-button/f-theme-button.component.d.ts +15 -0
- package/lib/f-documentation/f-version/f-version.component.d.ts +10 -0
- package/lib/f-documentation/i-documentation-component.d.ts +5 -0
- package/lib/f-documentation/index.d.ts +12 -0
- package/lib/f-navigation-panel/domain/i-navigation-group.d.ts +5 -0
- package/lib/f-navigation-panel/domain/i-navigation-item-badge.d.ts +4 -0
- package/lib/f-navigation-panel/domain/i-navigation-item.d.ts +13 -0
- package/lib/f-navigation-panel/domain/index.d.ts +3 -0
- package/lib/f-navigation-panel/f-navigation-group/f-navigation-group.component.d.ts +8 -0
- package/lib/f-navigation-panel/f-navigation-header/f-navigation-header.component.d.ts +12 -0
- package/lib/f-navigation-panel/f-navigation-item/f-navigation-item.component.d.ts +5 -0
- package/lib/f-navigation-panel/f-navigation-panel.component.d.ts +29 -0
- package/lib/f-navigation-panel/index.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.handler.d.ts +26 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/handle-dynamic-components.request.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-dynamic-components/index.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.handler.d.ts +16 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/handle-parsed-containers.request.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/i-parsed-container.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/index.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/copy-to-clipboard.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/clipboard/index.d.ts +1 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-async-code-view-handler.d.ts +10 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/f-code-group.handler.d.ts +18 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/i-code-group-view.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group/index.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-group-body.handler.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-code-view-handler.d.ts +21 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/f-example-view-handler.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/handle-parsed-containers/pseudo-components/index.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/highlight/change-code-focused-syntax.pre-processor.d.ts +7 -0
- package/lib/f-page/f-markdown/domain/highlight/highlight.service.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/highlight/index.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/highlight/mark-code-focused-blocks.post-processor.d.ts +14 -0
- package/lib/f-page/f-markdown/domain/highlight/modify-punctuation-highlight.post-processor.d.ts +6 -0
- package/lib/f-page/f-markdown/domain/highlight/separate-code-by-lines.post-processor.d.ts +9 -0
- package/lib/f-page/f-markdown/domain/index.d.ts +4 -0
- package/lib/f-page/f-markdown/domain/markdown/index.d.ts +3 -0
- package/lib/f-page/f-markdown/domain/markdown/markdown.service.d.ts +22 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/e-markdown-container-type.d.ts +11 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/i-markdown-it-token.d.ts +15 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/index.d.ts +7 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-alerts.d.ts +9 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-group.d.ts +17 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-code-view.d.ts +5 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-example-group.d.ts +21 -0
- package/lib/f-page/f-markdown/domain/markdown/parse-markdown/parse-preview-group.d.ts +17 -0
- package/lib/f-page/f-markdown/domain/markdown/utils/get-content.d.ts +2 -0
- package/lib/f-page/f-markdown/domain/markdown/utils/index.d.ts +1 -0
- package/lib/f-page/f-markdown/f-markdown-renderer.component.d.ts +25 -0
- package/lib/f-page/f-markdown/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.handler.d.ts +9 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.request.d.ts +4 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/get-previous-next-page-navigation.response.d.ts +6 -0
- package/lib/f-page/f-markdown-footer/domain/features/get-previous-next-page-navigation/index.d.ts +3 -0
- package/lib/f-page/f-markdown-footer/domain/features/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/domain/i-page-link.d.ts +4 -0
- package/lib/f-page/f-markdown-footer/domain/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-information.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/f-footer-edit-link.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-edit-link/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/f-footer-last-updated.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/f-footer-last-updated/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-edit-information/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/f-footer-navigation-button.component.d.ts +8 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation-button/index.d.ts +1 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/f-footer-navigation.component.d.ts +5 -0
- package/lib/f-page/f-markdown-footer/f-footer-navigation/index.d.ts +2 -0
- package/lib/f-page/f-markdown-footer/f-markdown-footer.component.d.ts +29 -0
- package/lib/f-page/f-markdown-footer/index.d.ts +4 -0
- package/lib/f-page/f-page.component.d.ts +5 -0
- package/lib/f-page/f-table-of-content/f-table-of-content-items/f-table-of-content-items.component.d.ts +7 -0
- package/lib/f-page/f-table-of-content/f-table-of-content-items/index.d.ts +1 -0
- package/lib/f-page/f-table-of-content/f-table-of-content.component.d.ts +28 -0
- package/lib/f-page/f-table-of-content/index.d.ts +2 -0
- package/lib/f-page/index.d.ts +4 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.handler.d.ts +15 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/calculate-hash-from-scroll-position.request.d.ts +5 -0
- package/lib/f-scrollable-container/domain/calculate-hash-from-scroll-position/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.handler.d.ts +5 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/get-absolute-top-to-container.request.d.ts +5 -0
- package/lib/f-scrollable-container/domain/get-absolute-top-to-container/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.handler.d.ts +11 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/get-table-of-content-data.request.d.ts +11 -0
- package/lib/f-scrollable-container/domain/get-table-of-content-data/index.d.ts +2 -0
- package/lib/f-scrollable-container/domain/i-table-of-content-item.d.ts +7 -0
- package/lib/f-scrollable-container/domain/index.d.ts +6 -0
- package/lib/f-scrollable-container/domain/scroll-to-element-in-container.d.ts +12 -0
- package/lib/f-scrollable-container/domain/table-of-content-data.d.ts +6 -0
- package/lib/f-scrollable-container/f-scrollable-container.component.d.ts +13 -0
- package/lib/f-scrollable-container/f-scrollable.service.d.ts +25 -0
- package/lib/f-scrollable-container/index.d.ts +2 -0
- package/lib/index.d.ts +6 -0
- package/package.json +49 -0
- package/public-api.d.ts +1 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 Siarhei Huzarevich
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
## Welcome to MRender
|
2
|
+
|
3
|
+
**MRender** is a versatile library designed for creating modern web applications in SPA or SSR formats. It goes beyond just rendering Markdown files by extending their functionality with support for Angular components and code snippets. The library includes built-in themes, making it an excellent choice for building documentation and other content-centric projects. With MRender, you can easily generate both static HTML and interactive web applications, providing flexibility and convenience for developers.
|
4
|
+
|
5
|
+
### Examples
|
6
|
+
|
7
|
+
Explore practical use cases to see **MRender** in action:
|
8
|
+
|
9
|
+
- [Foblex Flow Documentation](https://github.com/Foblex/f-flow) - A comprehensive example of using MRender to create a documentation website.
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
1. **Markdown Rendering:** Effortlessly render Markdown files into dynamic web content.
|
14
|
+
2. **Custom Syntax Extensions:** Use enhanced Markdown syntax for advanced features and interactivity.
|
15
|
+
3. **Angular Component Integration:** Extend Markdown with embedded Angular components and code examples.
|
16
|
+
4. **SPA and SSR Support:** Generate applications in both Single Page Application (SPA) and Server-Side Rendering (SSR) formats.
|
17
|
+
5. **Built-in Themes:** Choose from pre-designed themes for consistent and appealing documentation.
|
18
|
+
|
19
|
+
### Getting Started and Documentation
|
20
|
+
|
21
|
+
For a comprehensive guide on how to install, configure, and use MRender in your Angular project, visit our [Documentation](https://m-render.foblex.com/docs/get-started).
|
22
|
+
|
23
|
+
### Installation
|
24
|
+
|
25
|
+
To add **MRender** to your project, use the following npm command:
|
26
|
+
|
27
|
+
```bash
|
28
|
+
npm install @foblex/m-render
|
29
|
+
```
|
30
|
+
|
31
|
+
### License
|
32
|
+
|
33
|
+
This library is available for use under the [MIT License](./LICENSE).
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,50 @@
|
|
1
|
+
.m-render {
|
2
|
+
|
3
|
+
.f-alert {
|
4
|
+
margin: 16px 0;
|
5
|
+
border-radius: var(--f-alert-border-radius);
|
6
|
+
padding: 16px 16px 8px;
|
7
|
+
line-height: 24px;
|
8
|
+
font-size: 14px;
|
9
|
+
border: none;
|
10
|
+
|
11
|
+
.f-alert-title {
|
12
|
+
margin: 0;
|
13
|
+
line-height: inherit;
|
14
|
+
font-weight: 600;
|
15
|
+
text-transform: uppercase;
|
16
|
+
}
|
17
|
+
|
18
|
+
p {
|
19
|
+
&:last-child {
|
20
|
+
margin: 8px 0 !important;
|
21
|
+
line-height: inherit;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
&.tip {
|
26
|
+
color: var(--f-alert-tip-color);
|
27
|
+
background-color: var(--f-alert-tip-background);
|
28
|
+
}
|
29
|
+
|
30
|
+
&.info {
|
31
|
+
color: var(--f-alert-info-color);
|
32
|
+
background-color: var(--f-alert-info-background);
|
33
|
+
}
|
34
|
+
|
35
|
+
&.warning {
|
36
|
+
color: var(--f-alert-warning-color);
|
37
|
+
background-color: var(--f-alert-warning-background);
|
38
|
+
}
|
39
|
+
|
40
|
+
&.danger {
|
41
|
+
color: var(--f-alert-danger-color);
|
42
|
+
background-color: var(--f-alert-danger-background);
|
43
|
+
}
|
44
|
+
|
45
|
+
&.success {
|
46
|
+
color: var(--f-alert-success-color);
|
47
|
+
background-color: var(--f-alert-success-background);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
.f-badge {
|
2
|
+
display: inline-block;
|
3
|
+
border: 1px solid transparent;
|
4
|
+
border-radius: var(--border-radius);
|
5
|
+
padding: 0 10px;
|
6
|
+
line-height: 22px;
|
7
|
+
font-size: 12px;
|
8
|
+
font-weight: 500;
|
9
|
+
|
10
|
+
&.tip {
|
11
|
+
color: var(--f-badge-tip-color);
|
12
|
+
background-color: var(--f-badge-tip-background);
|
13
|
+
}
|
14
|
+
|
15
|
+
&.info {
|
16
|
+
color: var(--f-badge-info-color);
|
17
|
+
background-color: var(--f-badge-info-background);
|
18
|
+
}
|
19
|
+
|
20
|
+
&.warning {
|
21
|
+
color: var(--f-badge-warning-color);
|
22
|
+
background-color: var(--f-badge-warning-background);
|
23
|
+
}
|
24
|
+
|
25
|
+
&.danger {
|
26
|
+
color: var(--f-badge-danger-color);
|
27
|
+
background-color: var(--f-badge-danger-background);
|
28
|
+
}
|
29
|
+
|
30
|
+
&.success {
|
31
|
+
color: var(--f-badge-success-color);
|
32
|
+
background-color: var(--f-badge-success-background);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
f-navigation-panel {
|
37
|
+
.f-badge {
|
38
|
+
padding: 0 6px;
|
39
|
+
line-height: 14px;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.m-render h1 > .f-badge {
|
44
|
+
margin-top: 4px;
|
45
|
+
vertical-align: top;
|
46
|
+
}
|
47
|
+
|
48
|
+
.m-render h2 > .f-badge {
|
49
|
+
margin-top: 3px;
|
50
|
+
padding: 0 8px;
|
51
|
+
vertical-align: top;
|
52
|
+
}
|
53
|
+
|
54
|
+
.m-render h3 > .f-badge {
|
55
|
+
vertical-align: middle;
|
56
|
+
}
|
57
|
+
|
58
|
+
.m-render h4 > .f-badge,
|
59
|
+
.m-render h5 > .f-badge,
|
60
|
+
.m-render h6 > .f-badge {
|
61
|
+
vertical-align: middle;
|
62
|
+
line-height: 18px;
|
63
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
.f-button {
|
2
|
+
display: inline-block;
|
3
|
+
text-align: center;
|
4
|
+
font-weight: 600;
|
5
|
+
white-space: nowrap;
|
6
|
+
transition: color .25s, background-color .25s;
|
7
|
+
|
8
|
+
border-radius: 4px;
|
9
|
+
padding: 0 20px;
|
10
|
+
line-height: 38px;
|
11
|
+
font-size: 14px;
|
12
|
+
|
13
|
+
color: var(--button-default-text);
|
14
|
+
background-color: var(--button-default-bg);
|
15
|
+
cursor: pointer;
|
16
|
+
pointer-events: all;
|
17
|
+
|
18
|
+
&:hover {
|
19
|
+
color: var(--button-default-hover-text);
|
20
|
+
background-color: var(--button-default-hover-bg);
|
21
|
+
}
|
22
|
+
|
23
|
+
&:active {
|
24
|
+
color: var(--button-default-active-text);
|
25
|
+
background-color: var(--button-default-active-bg);
|
26
|
+
}
|
27
|
+
|
28
|
+
&.primary {
|
29
|
+
color: var(--button-primary-text);
|
30
|
+
background-color: var(--button-primary-bg);
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
color: var(--button-primary-hover-text);
|
34
|
+
background-color: var(--button-primary-hover-bg);
|
35
|
+
}
|
36
|
+
|
37
|
+
&:active {
|
38
|
+
color: var(--button-primary-active-text);
|
39
|
+
background-color: var(--button-primary-active-bg);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
.m-render {
|
2
|
+
.f-code-group {
|
3
|
+
display: block;
|
4
|
+
border-radius: var(--code-group-border-radius);
|
5
|
+
overflow: hidden;
|
6
|
+
height: 100%;
|
7
|
+
width: 100%;
|
8
|
+
|
9
|
+
.f-code-group-tabs {
|
10
|
+
position: relative;
|
11
|
+
display: flex;
|
12
|
+
padding: 0 12px;
|
13
|
+
background-color: var(--code-group-tabs-background);
|
14
|
+
border-bottom: 1px solid var(--code-group-tabs-border-color);
|
15
|
+
overflow-x: auto;
|
16
|
+
|
17
|
+
button {
|
18
|
+
border: 2px solid transparent;
|
19
|
+
border-left: none;
|
20
|
+
border-right: none;
|
21
|
+
outline: none;
|
22
|
+
background: none;
|
23
|
+
padding: 0 12px;
|
24
|
+
line-height: 48px;
|
25
|
+
font-size: var(--code-group-tab-button-font-size);
|
26
|
+
font-weight: 500;
|
27
|
+
color: var(--code-group-tab-button-text-color);
|
28
|
+
cursor: pointer;
|
29
|
+
|
30
|
+
&.active {
|
31
|
+
color: var(--code-group-tab-button-active-text-color);
|
32
|
+
border-bottom-color: var(--code-group-tab-button-active-border-color);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.f-code-group-body {
|
38
|
+
display: flex;
|
39
|
+
justify-content: flex-start;
|
40
|
+
align-items: flex-start;
|
41
|
+
height: calc(100% - 52px);
|
42
|
+
overflow: auto;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
:root {
|
2
|
+
.m-render {
|
3
|
+
--punctuation: #24292E;
|
4
|
+
--attr-name: #D73A49;
|
5
|
+
--property: #032F62;
|
6
|
+
--keyword: #28a745;
|
7
|
+
--attr-value: #1b7c83;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.dark {
|
12
|
+
.m-render {
|
13
|
+
--punctuation: #E1E4E8;
|
14
|
+
--attr-name: #F97583;
|
15
|
+
--property: #9ECBFF;
|
16
|
+
--keyword: #34d058;
|
17
|
+
--attr-value: #39c5cf;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.m-render {
|
22
|
+
.token.comment,
|
23
|
+
.token.prolog,
|
24
|
+
.token.doctype,
|
25
|
+
.token.cdata,
|
26
|
+
.token.attr-name {
|
27
|
+
color: var(--attr-name);
|
28
|
+
}
|
29
|
+
|
30
|
+
.token.attr-name {
|
31
|
+
color: var(--attr-value);
|
32
|
+
}
|
33
|
+
|
34
|
+
.token.namespace {
|
35
|
+
opacity: .7;
|
36
|
+
}
|
37
|
+
|
38
|
+
.token.property,
|
39
|
+
.token.constant,
|
40
|
+
.token.symbol,
|
41
|
+
.token.deleted,
|
42
|
+
.token.keyword,
|
43
|
+
.token.tag, {
|
44
|
+
color: var(--property);
|
45
|
+
}
|
46
|
+
|
47
|
+
.token.boolean,
|
48
|
+
.token.number,
|
49
|
+
.token.string,
|
50
|
+
.token.char,
|
51
|
+
.token.regex,
|
52
|
+
.token.important,
|
53
|
+
.token.variable,
|
54
|
+
.token.operator {
|
55
|
+
color: var(--keyword);
|
56
|
+
}
|
57
|
+
|
58
|
+
.token.selector,
|
59
|
+
.token.builtin,
|
60
|
+
.token.inserted,
|
61
|
+
.token.function,
|
62
|
+
.token.class-name,
|
63
|
+
.token.punctuation {
|
64
|
+
color: var(--property);
|
65
|
+
}
|
66
|
+
|
67
|
+
.token.entity,
|
68
|
+
.token.url,
|
69
|
+
.language-css .token.string,
|
70
|
+
.style .token.string,
|
71
|
+
.token.punctuation,
|
72
|
+
.language-bash {
|
73
|
+
color: var(--punctuation);
|
74
|
+
}
|
75
|
+
|
76
|
+
.token.atrule {
|
77
|
+
color: var(--attr-value);
|
78
|
+
}
|
79
|
+
|
80
|
+
.token.attr-value {
|
81
|
+
color: var(--keyword);
|
82
|
+
}
|
83
|
+
|
84
|
+
.token.important,
|
85
|
+
.token.bold {
|
86
|
+
font-weight: bold;
|
87
|
+
}
|
88
|
+
|
89
|
+
.token.italic {
|
90
|
+
font-style: italic;
|
91
|
+
}
|
92
|
+
|
93
|
+
.token.entity {
|
94
|
+
cursor: help;
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
.m-render {
|
2
|
+
|
3
|
+
pre, code {
|
4
|
+
direction: ltr;
|
5
|
+
text-align: left;
|
6
|
+
white-space: pre;
|
7
|
+
word-spacing: normal;
|
8
|
+
word-break: normal;
|
9
|
+
word-wrap: normal;
|
10
|
+
tab-size: 4;
|
11
|
+
hyphens: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
pre {
|
15
|
+
position: relative;
|
16
|
+
margin: 0;
|
17
|
+
overflow: auto;
|
18
|
+
max-height: 600px;
|
19
|
+
|
20
|
+
code {
|
21
|
+
display: block;
|
22
|
+
padding: 16px 24px;
|
23
|
+
width: fit-content;
|
24
|
+
min-width: 100%;
|
25
|
+
line-height: var(--code-view-line-height);
|
26
|
+
font-size: var(--code-view-font-size);
|
27
|
+
color: var(--code-view-text-color);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.f-code-view, .f-async-code-view, .f-example-view {
|
32
|
+
position: relative;
|
33
|
+
background-color: var(--code-view-background);
|
34
|
+
border-radius: var(--code-view-border-radius);
|
35
|
+
overflow-x: auto;
|
36
|
+
width: 100%;
|
37
|
+
|
38
|
+
.f-copy-button {
|
39
|
+
position: absolute;
|
40
|
+
top: 8px;
|
41
|
+
right: 20px;
|
42
|
+
border: 1px solid var(--code-view-copy-button-border-color);
|
43
|
+
border-radius: 4px;
|
44
|
+
width: 32px;
|
45
|
+
height: 32px;
|
46
|
+
z-index: 3;
|
47
|
+
background-color: var(--code-view-copy-button-background);
|
48
|
+
opacity: 0;
|
49
|
+
cursor: pointer;
|
50
|
+
background-image: var(--copy-icon);
|
51
|
+
background-position: 50%;
|
52
|
+
background-size: 14px;
|
53
|
+
background-repeat: no-repeat;
|
54
|
+
transition: background-color 0.25s, opacity 0.25s;
|
55
|
+
|
56
|
+
&:hover {
|
57
|
+
background-color: var(--code-view-copy-button-hover-background);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.f-code-language {
|
62
|
+
position: absolute;
|
63
|
+
top: 2px;
|
64
|
+
right: 20px;
|
65
|
+
font-size: 12px;
|
66
|
+
font-weight: 500;
|
67
|
+
color: var(--code-view-lang-color);
|
68
|
+
transition: opacity 0.4s;
|
69
|
+
}
|
70
|
+
|
71
|
+
&:hover {
|
72
|
+
.f-copy-button {
|
73
|
+
opacity: 1;
|
74
|
+
|
75
|
+
&:active {
|
76
|
+
opacity: 0.1;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.f-code-language {
|
81
|
+
opacity: 0;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.f-example-view {
|
87
|
+
width: 100%;
|
88
|
+
height: 300px;
|
89
|
+
overflow: hidden;
|
90
|
+
}
|
91
|
+
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
.m-render {
|
2
|
+
|
3
|
+
h1, h2, h3, h4, h5, h6 {
|
4
|
+
margin: 0;
|
5
|
+
position: relative;
|
6
|
+
font-weight: 600;
|
7
|
+
outline: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1 {
|
11
|
+
letter-spacing: -0.02em;
|
12
|
+
line-height: 40px;
|
13
|
+
font-size: 28px;
|
14
|
+
}
|
15
|
+
|
16
|
+
h2 {
|
17
|
+
margin: 48px 0 16px;
|
18
|
+
border-top: 1px solid var(--divider-color);
|
19
|
+
padding-top: 24px;
|
20
|
+
letter-spacing: -0.02em;
|
21
|
+
line-height: 32px;
|
22
|
+
font-size: 24px;
|
23
|
+
}
|
24
|
+
|
25
|
+
h3 {
|
26
|
+
margin: 32px 0 0;
|
27
|
+
letter-spacing: -0.01em;
|
28
|
+
line-height: 28px;
|
29
|
+
font-size: 20px;
|
30
|
+
}
|
31
|
+
|
32
|
+
h4 {
|
33
|
+
margin: 24px 0 0;
|
34
|
+
letter-spacing: -0.01em;
|
35
|
+
line-height: 24px;
|
36
|
+
font-size: 18px;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media (min-width: 768px) {
|
40
|
+
h1 {
|
41
|
+
letter-spacing: -0.02em;
|
42
|
+
line-height: 40px;
|
43
|
+
font-size: 32px;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
p, summary {
|
48
|
+
&:not(:first-child) {
|
49
|
+
margin: 16px 0;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
p {
|
54
|
+
line-height: 28px;
|
55
|
+
}
|
56
|
+
|
57
|
+
blockquote {
|
58
|
+
margin: 16px 0;
|
59
|
+
border-left: 2px solid var(--divider-color);
|
60
|
+
padding-left: 16px;
|
61
|
+
color: var(--secondary-text);
|
62
|
+
}
|
63
|
+
|
64
|
+
blockquote > p {
|
65
|
+
margin: 0;
|
66
|
+
font-size: 16px;
|
67
|
+
}
|
68
|
+
|
69
|
+
a {
|
70
|
+
font-weight: 500;
|
71
|
+
color: var(--primary-1);
|
72
|
+
text-decoration: underline;
|
73
|
+
text-underline-offset: 2px;
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
color: var(--primary-2);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
strong {
|
81
|
+
font-weight: 600;
|
82
|
+
}
|
83
|
+
|
84
|
+
ul, ol {
|
85
|
+
padding-left: 1.25rem;
|
86
|
+
margin: 16px 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
ul {
|
90
|
+
list-style: disc;
|
91
|
+
}
|
92
|
+
|
93
|
+
ol {
|
94
|
+
list-style: decimal;
|
95
|
+
}
|
96
|
+
|
97
|
+
li + li {
|
98
|
+
margin-top: 8px;
|
99
|
+
}
|
100
|
+
|
101
|
+
li > ol, li > ul {
|
102
|
+
margin: 8px 0 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
hr {
|
106
|
+
margin: 16px 0;
|
107
|
+
border: none;
|
108
|
+
border-top: 1px solid var(--divider-color);
|
109
|
+
}
|
110
|
+
|
111
|
+
:not(pre) > code {
|
112
|
+
font-size: var(--not-pre-code-font-size);
|
113
|
+
color: var(--not-pre-code-color);
|
114
|
+
border-radius: var(--border-radius);
|
115
|
+
padding: 3px 6px;
|
116
|
+
background-color: var(--not-pre-code-background);
|
117
|
+
|
118
|
+
word-wrap: break-word;
|
119
|
+
word-break: break-word;
|
120
|
+
white-space: pre-wrap;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: Inter;
|
3
|
+
font-style: normal;
|
4
|
+
font-weight: 100 900;
|
5
|
+
font-display: swap;
|
6
|
+
src: url('../fonts/inter-roman-latin-ext.woff2') format('woff2');
|
7
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
|
8
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
9
|
+
}
|
10
|
+
|
11
|
+
@font-face {
|
12
|
+
font-family: Inter;
|
13
|
+
font-style: normal;
|
14
|
+
font-weight: 100 900;
|
15
|
+
font-display: swap;
|
16
|
+
src: url('../fonts/inter-roman-latin.woff2') format('woff2');
|
17
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
18
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
|
19
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
20
|
+
}
|
21
|
+
|
22
|
+
@font-face {
|
23
|
+
font-family: Inter;
|
24
|
+
font-style: italic;
|
25
|
+
font-weight: 100 900;
|
26
|
+
font-display: swap;
|
27
|
+
src: url('../fonts/inter-italic-latin-ext.woff2') format('woff2');
|
28
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
|
29
|
+
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
30
|
+
}
|
31
|
+
|
32
|
+
@font-face {
|
33
|
+
font-family: Inter;
|
34
|
+
font-style: italic;
|
35
|
+
font-weight: 100 900;
|
36
|
+
font-display: swap;
|
37
|
+
src: url('../fonts/inter-italic-latin.woff2') format('woff2');
|
38
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
39
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
|
40
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
41
|
+
}
|