Comments (5)
Hmmm. I'm reluctant to add any styling changes like this to the config, until Pastel supports such at least.
How about injecting it into the generated Markdown instead? You can put a <style>
tag anywhere (or even create a prepend.md
containing that only, and it should be properly moved into the head by the browser.
from scribe.
Hmmm. I'm reluctant to add any styling changes like this to the config, until Pastel supports such at least.
How about injecting it into the generated Markdown instead? You can put a
<style>
tag anywhere (or even create aprepend.md
containing that only, and it should be properly moved into the head by the browser.
I think this should work, but if you want a more elegant solution, we're having a related discussion in Pastel. If we can get support for custom styles in there, we can easily expose that as an option here.
from scribe.
See the RFC that would help with this: #105
With this, you could add custom CSS, probably in your Laravel config file.
from scribe.
Scribe v3 (likely released next week) comes with a new theming system that eliminates the need for Pastel, so I'm closing this. You can create your own theme, and (though it's a bit of work), modify the default.
from scribe.
🎉v3 is out now, with the new theming system.
from scribe.
Related Issues (20)
- HELP - Document is not generating after composer update HOT 3
- Issue On Installing with Laravel 10 HOT 10
- Call to undefined method PhpParser\ParserFactory::create() HOT 5
- Example Request buggy in Elements Theme HOT 2
- PhpParser\Lexer\Emulative::__construct(): Argument #1 ($phpVersion) must be of type ?PhpParser\PhpVersion, array given HOT 2
- Documation not loading on browser HOT 15
- Requesting new Release Version HOT 2
- Refactor for easier customization HOT 3
- Generating Scribe views from an openapi.yml file HOT 1
- Nested translations for validation rules rely on non-universal translation feature HOT 1
- How to get examples for QueryParam of type int array working in Try it out? HOT 2
- Config routes.apply.response_calls does not work after upgrading to latest HOT 1
- Theme elements with multipart/form-data
- GetFromInlineValidatorBase::extractEnumClassFromArrayItem Argument #1 ($arrayItem) must be of type PhpParser\\Node\\ArrayItem, PhpParser\\Node\\Expr\\ArrayItem given HOT 3
- Large Request breaks Elements theme HOT 1
- Manipulate tags by Plugins HOT 2
- Annotation example for boolean values doesn't work correctly HOT 3
- How to write multiple examples in response body? HOT 3
- Try it out base url HOT 2
- API Guide HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribe.