Tag library
5 bookmarks have this tag.
5 bookmarks have this tag.
type INI struct {
Properties []*Property `@@*`
Sections []*Section `@@*`
}
type Section struct {
Identifier string `"[" @Ident "]"`
Properties []*Property `@@*`
}
type Property struct {
Key string `@Ident "="`
Value *Value `@@`
}
type Value struct {
String *string ` @String`
Float *float64 `| @Float`
Int *int `| @Int`
}
Embeds all resources (e.g. CSS, image, JavaScript, etc) producing a single HTML5 document that is easy to store and share.
In case the submitted URL is not HTML (for example a PDF page), Obelisk will still save it as it is.
Downloading each assets are done concurrently, which make the archival process for a web page is quite fast.
Accepts cookies, useful for pages that need login or article behind paywall.
Might actually be a good choice for Betula archival. Might need to fork it, though.
TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android. - erkkah/tigr
package main templ Hello(name string){ <div>Hello, { name }</div> } templ Greeting(person Person){ <div class="greeting"> @Hello(person.Name) </div> }