beam-community / scrivener_headers Goto Github PK
View Code? Open in Web Editor NEWScrivener pagination with headers and web linking
License: MIT License
Scrivener pagination with headers and web linking
License: MIT License
I thought I'd migrated this project along with the others a long time ago. Sorry about that ๐ฐ
Also need to update the link to this project in the Scrivener README.
Instead of predefine the name of the headers, some APIs need to respect some patterns, such as x-total, x-per-page
.
The ideal scenario would be having the current ones as default and add the possibility to use custom names as config.
Compiling a project with scrivener_headers
as a dependency causes this warning
warning: Plug.Conn.get_req_header/2 defined in application :plug is used by the current application but the current application does not depend on :plug. To fix this, you must do one of:
1. If :plug is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
2. If :plug is a dependency, make sure it is listed under "def deps" in your mix.exs
3. In case you don't want to add a requirement to :plug, you may optionally skip this warning by adding [xref: [exclude: [Plug.Conn]]] to your "def project" in mix.exs
I think the problem is that :plug
is marked as optional in mix.exs
. If for some reason you need to keep :plug
optional I think the third option suggested in the warning should be applied.
See for reference https://elixirforum.com/t/how-to-fix-elixirs-1-11-application-boundaries/35383/4
PS: Not really related but it would be nice to have a new version with the latest commits pushed to hex.pm
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.