utils

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCSSFromHTML

func GetCSSFromHTML(html string) (string, error)

GetCSSFromHTML extracts CSS from HTML using Vimesh Style

func GetVimeshStyleJS

func GetVimeshStyleJS() string

GetVimeshStyleJS returns the embedded Vimesh Style JavaScript code

Types

type VimeshStyleConfig

type VimeshStyleConfig struct {
	Enable bool `json:"enable"` // Enable Vimesh Style support
}

VimeshStyleConfig holds configuration for Vimesh Style integration

func DefaultVimeshStyleConfig

func DefaultVimeshStyleConfig() *VimeshStyleConfig

DefaultVimeshStyleConfig returns default configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL