wuusn / miyano Goto Github PK
View Code? Open in Web Editor NEWA Bear note blog system deploy on Github Pages written in ruby
Home Page: https://miyano.website
License: MIT License
A Bear note blog system deploy on Github Pages written in ruby
Home Page: https://miyano.website
License: MIT License
It would be nice if HTML links could be generated from Bear note links.
Miyano uses the Polar Bear markup language as default .
Thank my friends for bringing this issue to me.
The markdown compatibility mode for Miyano will come out at the next version. (will be soon)
When using *
as the unordered list symbol, lists are not rendered properly.
When using *
or -
as unordered list symbols in Bear, they're both rendered with a red bullet:
When rendered in Miyano, only the list items using the -
symbol are rendered with as expected:
Here's the example text I'm using:
* List item starting with *
* Another list item starting with *
- List item starting with -
- Another list item starting with -
Would like to only export notes with subtags under #blog
When I try to build the webpage, I have an error :
francois@Mini:~/essai|⇒ miyano build
Traceback (most recent call last):
22: from /usr/local/bin/miyano:23:in `<main>'
21: from /usr/local/bin/miyano:23:in `load'
20: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/exe/miyano:18:in `<top (required)>'
19: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
18: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
17: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
16: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
15: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:40:in `block in register'
14: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:115:in `invoke'
13: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/group.rb:232:in `dispatch'
12: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `invoke_all'
11: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `map'
10: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `each'
9: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `block in invoke_all'
8: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
7: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
6: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/cli/build.rb:22:in `build'
5: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/builder.rb:16:in `build_the_world'
4: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/builder.rb:16:in `each'
3: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/builder.rb:17:in `block in build_the_world'
2: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/build/bear.rb:11:in `build_bear'
1: from /usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/build/bear.rb:11:in `each'
/usr/local/lib/ruby/gems/2.5.0/gems/miyano-0.3.2/lib/miyano/build/bear.rb:29:in `block in build_bear': undefined method `get_input_stream' for nil:NilClass (NoMethodError)
It happened only when I use .bearnote with picture attached
Taken with a phone, the photos are all saved in a landscape format. When taking a photo in portrait format, the camera adds "Orientation" information in the photo data that indicates how the image should be displayed.
Problem: The browser does not consider this information. There exists in CSS a property * image-orientation: from-image * which indicate that it is necessary to use EXIF info.
Problem (bis): the only browser that takes into account this CSS property for the moment is Firefox.
The only solution I have found for the moment is to crop the photo before inserting it into Bear. For example in square format.
I try to adapt your default settings to my use, and I try to use Font Awesome.
I followed this procedure, add @import "scss/fontawesome.scss";
and @import "scss/fa-solid.scss";
in default.scss, and copy webfonts in the folder layout.
After 'miyano build', the css seems correctly upgraded, but the folder layout is not present in _site
Is there a way to use bearnote with jekyll?
It will be win-win to take the advantage of jekyll's flexibility(lots of themes) and bearnote's convenience!
The bearnote is a zip file.
The date info is not stable, e.g. when you copy or download it, the date info will be changed.
However, the date info of files inside in the zipped file is stable.
I created a Github repo but named it wrong. I however already pushed it. I deleted the repo, make a new one with correct name but push is still looking for the old repo name. How do I fix this? Thanks!
I'm able to build and view locally just fine. Then if I push I'm able to see site online. But if I build and try locally again I am unable to push any more. I get.
error: failed to push some refs to 'https://github.com/PhilHansonGH/PhilHansonGH.github.io' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
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.