zach-johnson / bhugo Goto Github PK
View Code? Open in Web Editor NEWA tool to transform Bear notes into Hugo-compatible markdown files
License: MIT License
A tool to transform Bear notes into Hugo-compatible markdown files
License: MIT License
Optionally treat Bear hash tags as Hugo front matter tags instead of categories, or possibly allow both with a #prefix/tag
prefix for tags
Instead of having to save images in the Hugo images folder, it would be great to save them anywhere to insert into Bear and then have Bhugo copy the image into the Hugo directory.
Probably will require an additional query to determine image location.
Instead of totally blowing away the target file, intelligently replace it, preserving any custom front matter that has been added to the file.
Currently, bhugo updates the date in the front matter with a timestamp from the last edit in bear. I'd like to override this. If I am updating a blog, for example, I don't want the post date to change with every edit.
I'd like to use lower case tags in Hugo, but bhugo capitalizes them when writing the markdown file. Can my lower case hashtags be preserved in the markdown file output?
Thank you.
Add a special case for a tag like #blog/exclude
or whatever to exclude a note from being parsed by Bear. Could be useful if the file has been updated in Hugo or Bear is out of date for whatever reason and wouldn't want to accidentally overwrite the Hugo version.
Parse a summary out of the Bear note, perhaps based off a Summary
header, treating text up until the next header or until the end of the file as the summary.
Module path is inconsistent with go import path.
GO111MODULE=on, run go get github.com/Zach-Johnson/bhugo
:
go: downloading github.com/Zach-Johnson/bhugo v0.0.0-20190522182227-e6bde14eaa98
go: github.com/Zach-Johnson/bhugo upgrade => v0.0.0-20190522182227-e6bde14eaa98
go get: github.com/Zach-Johnson/[email protected]: parsing go.mod:
module declares its path as: bhugo
but was required as: github.com/Zach-Johnson/bhugo
module github.com/Zach-Johnson/bhugo
go 1.12
require (
…
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.