sanity-io / latex-input Goto Github PK
View Code? Open in Web Editor NEWLaTeX input for Sanity
License: MIT License
LaTeX input for Sanity
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Using a curated preset maintained by
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | standard-version |
These branches will be created by Renovate only once you click their checkbox below.
@commitlint/cli
, @commitlint/config-conventional
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, eslint-config-sanity
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-conventional
, @sanity/pkg-utils
, @sanity/plugin-kit
, @sanity/semantic-release-preset
, @types/jest
, @types/katex
, @types/react
, @types/react-dom
, @types/styled-components
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, actions/checkout
, actions/setup-node
, eslint
, eslint-config-prettier
, eslint-plugin-react
, eslint-plugin-react-hooks
, katex
, prettier
, prettier-plugin-packagejson
, react
, react-dom
, sanity
, standard-version
, styled-components
, typescript
)@commitlint/cli
, @commitlint/config-conventional
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/main.yml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
actions/setup-node v3@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
actions/setup-node v3@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
actions/setup-node v3@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
package.json
@sanity/incompatible-plugin ^1.0.4
@types/katex ^0.16.0
@types/styled-components ^5.1.25
katex ^0.16.0
@commitlint/cli ^17.2.0
@commitlint/config-conventional ^17.2.0
@sanity/pkg-utils ^2.4.9
@sanity/plugin-kit ^2.1.19
@sanity/semantic-release-preset ^2.0.2
@types/jest ^27.5.0
@types/react ^18
@types/react-dom ^18
@typescript-eslint/eslint-plugin ^5.42.0
@typescript-eslint/parser ^5.42.0
eslint ^8.26.0
eslint-config-prettier ^8.5.0
eslint-config-sanity ^6.0.0
eslint-plugin-prettier ^4.2.1
eslint-plugin-react ^7.31.10
eslint-plugin-react-hooks ^4.6.0
prettier ^2.7.1
prettier-plugin-packagejson ^2.3.0
react ^18
react-dom ^18
rimraf ^3.0.2
sanity ^3.0.1
standard-version ^9.3.2
styled-components ^5.3.5
typescript ^4.8.4
react ^18
react-dom ^18
sanity ^3.0.0
styled-components ^5.3.5
node >=14
<The Portable Text editor will render a preview of the contents with KaTeX. But i cant do this. How can Δ± render this content with portable text editΓΆr with KaTeX? Thanks.
Describe the bug
Peer dependency error
To Reproduce
npm i sanity-plugin-latex-input
while "sanity": "^3.39.0",
is installed
Expected behavior
I expected to be able to install and use this plugin with a newer version of styled-components
(the child package for sanity and this plugin).
Screenshots
β my-repo git:(feat/branch) npm i sanity-plugin-latex-input
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/styled-components
npm ERR! styled-components@"^6.1.8" from the root project
npm ERR! peer styled-components@"^6.1" from [email protected]
npm ERR! node_modules/sanity
npm ERR! sanity@"^3.39.0" from the root project
npm ERR! peer sanity@"^3.0.0" from [email protected]
npm ERR! node_modules/sanity-plugin-latex-input
npm ERR! sanity-plugin-latex-input@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer styled-components@"^5.3.5" from [email protected]
npm ERR! node_modules/sanity-plugin-latex-input
npm ERR! sanity-plugin-latex-input@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Which versions of Sanity are you using?
@sanity/cli (global) 3.37.2 (latest: 3.39.0)
@sanity/code-input 4.1.4 (up to date)
@sanity/eslint-config-studio 4.0.0 (up to date)
@sanity/icons 2.11.8 (up to date)
@sanity/vision 3.39.0 (up to date)
sanity 3.39.0 (up to date)
What operating system are you using?
MacOS
Which versions of Node.js / npm are you running?
β my-repo git:(feat/branch) npm -v && node -v
10.5.2
v18.20.2
Additional context
n/a
Security issue?
n/a
Hi. I'm using a fresh NextJS 13.2.1 with Tailwind and integrated the Sanity Studio V3 in /pages directory. They're working fine. I installed this plugin but it's getting Global CSS cannot be imported from within node_modules error.
sanity.config.ts:
import { deskTool } from 'sanity/desk';
import { visionTool } from '@sanity/vision';
import { codeInput } from '@sanity/code-input';
import { latexInput } from 'sanity-plugin-latex-input';
import { schemaTypes } from '@/schemas/index';
export const projectId = process.env.NEXT_PUBLIC_SANITY_PROJECT_ID!;
export const dataset = process.env.NEXT_PUBLIC_SANITY_DATASET!;
export default defineConfig({
basePath: '/studio',
projectId,
dataset,
plugins: [deskTool(), visionTool(), codeInput(), latexInput()],
schema: {
types: schemaTypes,
},
});
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.