areumsheep / blog Goto Github PK
View Code? Open in Web Editor NEW☺️ 개발 블로그 개발
Home Page: https://blog.areumsheep.vercel.app
☺️ 개발 블로그 개발
Home Page: https://blog.areumsheep.vercel.app
gatsby-config.ts
에 gatsby-remark-autolink-headers
를 추가해도 적용되지 않는다.
하지만 head에 라이브러리의 style과 script는 정상적으로 적용되어 있었다.
[해결]
https://www.gatsbyjs.com/docs/tutorial/part-5/#task-install-and-configure-the-mdx-transformer-plugin-and-dependencies
해당 글에서 gatsby-plugin-mdx
안에 gatsbyRemarkPlugins를 적용시킬 수 있다하여 해당 프로퍼티 안에 넣으니 해결되었다.
custom component를 넘겨주다보니 id, style이 적용되지 않음이 확인되어 넘기는 값에 id, style 추가하였다.
gatsby-remark-reading-time
, gatsby-remark-reading-time-2
를 사용하다가 업데이트도 너무 오래 전에 됐고 사용이 되지 않았다.
코드를 읽어보니 간단하게 reaing-time
라이브러리를 사용하여 graphql에 넣어주는 식으로 되어 있길래 직접 만들었다.
https://github.com/ngryman/reading-time/blob/master/src/reading-time.ts
해당 코드를 참고하여 유틸 함수를 만들긴 했지만 실제로는 더 간단하게 구현되었다.
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.