v1.6.0
188e5ad - feat: Add corners options to website.
34f6269 - chore: Upgrade ejs v2.7.4 to v3.0.1
48695fd - fix: Add bin to the files field in package.json.
const svgtofont = require('svgtofont');
const path = require('path');
svgtofont({
// ....
website: {
// ....
// Add a Github corner to your website
// Like: https://github.com/uiwjs/react-github-corners
+ corners: {
+ url: 'https://github.com/jaywcjlove/svgtofont',
+ width: 62, // default: 60
+ height: 62, // default: 60
+ bgColor: '#dc3545' // default: '#151513'
+ },
}
}).then(() => {
console.log('done!');
});