@fsegurai/marked-extended-tabs 17.0.0-beta.5 → 17.0.0-beta.6
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/styles/README.md +23 -19
- package/package.json +1 -1
package/dist/styles/README.md
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
# Tabs Styles
|
|
1
|
+
# Marked Extended Tabs - Styles
|
|
2
2
|
|
|
3
|
-
This directory contains CSS
|
|
3
|
+
This directory contains the CSS and SCSS files for styling the tabs component.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Quick Start
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
In JS/TS:
|
|
7
|
+
### Minimal Setup (CSS)
|
|
8
|
+
```javascript
|
|
9
|
+
import '@fsegurai/marked-extended-tabs/styles/tabs.css';
|
|
10
|
+
```
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+
### With Theme (CSS)
|
|
13
|
+
```javascript
|
|
15
14
|
import '@fsegurai/marked-extended-tabs/styles/tabs.css';
|
|
16
15
|
import '@fsegurai/marked-extended-tabs/styles/tabs-theme.css';
|
|
17
16
|
```
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
### Using CDN
|
|
19
|
+
```html
|
|
20
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fsegurai/marked-extended-tabs@latest/dist/styles/tabs.css">
|
|
21
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fsegurai/marked-extended-tabs@latest/dist/styles/tabs-theme.css">
|
|
22
|
+
```
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@import '@fsegurai/marked-extended-tabs/styles/tabs
|
|
24
|
+
### Using SCSS
|
|
25
|
+
```scss
|
|
26
|
+
@import '@fsegurai/marked-extended-tabs/styles/tabs.scss';
|
|
27
|
+
@import '@fsegurai/marked-extended-tabs/styles/tabs-theme.scss';
|
|
24
28
|
```
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
## Files
|
|
27
31
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
- **tabs.css** - Minimal structural CSS (required)
|
|
33
|
+
- **tabs.scss** - SCSS with customizable variables
|
|
34
|
+
- **tabs-theme.css** - Complete theme with hover previews
|
|
35
|
+
- **tabs-theme.scss** - SCSS theme with customizable colors
|
|
32
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fsegurai/marked-extended-tabs",
|
|
3
|
-
"version": "17.0.0-beta.
|
|
3
|
+
"version": "17.0.0-beta.6",
|
|
4
4
|
"description": "Extension for Marked.js that adds support for extended tabs, allowing the creation of tabbed content sections within Markdown documents. It supports any Markdown rendering and can be customized to fit your needs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|