
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Manic is a static site generator, with configuration in ruby.
bin/manic
looks for config.manic
in the current working directory.. parsing site into output
Manic.config do
# set global variables
site_title "Manic static site example
author "Justin Baker"
# extend with helper method
plugin TagHelper
plugin "filename"
# add helper method for use in templates
img_tag lambda{|src| "<img src=\"#{src}\" />"}
end
Plugins are as basic as they can be. The API consists of just a module with helper methods.
By default, all files in plugins
will be autoloaded and available. This doesn't mean you can't load plugins other ways.
Calling plugin ModuleName
or plugin "filename"
in the Manic config file will load a plugin.
Helper methods can also be defined inside the Manic config by passing a lambda.
Manic.config do
img_tag lambda{|src| "<img src=\"#{src}\" />"}
end
Now you have an img_tag
helper method available to you.
FAQs
Unknown package
We found that manic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.