pypandoc
codehike
pypandoc | codehike | |
---|---|---|
5 | 8 | |
804 | 4,232 | |
- | 0.8% | |
6.8 | 5.6 | |
12 days ago | 4 days ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pypandoc
-
Web Scraping in Python â The Complete Guide
I recently used [0] Playwright for Python and [1] pypandoc to build a scraper that fetches a webpage and turns the content into sane markdown so that it can be passed into an AI coding chat [2].
They are both very gentle dependencies to add to a project. Both packages contain built in or scriptable methods to install their underlying platform-specific binary dependencies. This means you don't need to ask end users to use some complex, platform-specific package manager to install playwright and pandoc.
Playwright let's you scrape pages that rely on js. Pandoc is great at turning HTML into sensible markdown. Below is an excerpt of the openai pricing docs [3] that have been scraped to markdown [4] in this manner.
[0] https://playwright.dev/python/docs/intro
[1] https://github.com/JessicaTegner/pypandoc
[2] https://github.com/paul-gauthier/aider
[3] https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turb...
[4] https://gist.githubusercontent.com/paul-gauthier/95a1434a28d...
## GPT-4 and GPT-4 Turbo
- GitHub Accelerator: our first cohort and what's next
-
Converting multiple docx to multiple txt filed
Use Pypandoc
codehike
-
GitHub Accelerator: our first cohort and what's next
- https://github.com/code-hike/codehike: Tools for building all types of code walkthroughs: blogs, docs, slides, tutorials, etc.
-
Dark mode with Shiki and Code Hike
Warning: This article refers to versions of Code Hike before 0.8.0. Since version 0.8.0, Code Hike uses lighter instead of Shiki. The approach presented in this article uses shiki's color replacement method, which no longer works with lighter.
- code-hike/codehike: Marvellous code walkthroughs
- Code-hike/codehike: Build first-class code walkthroughs for the web
- Code Hike: write code walkthroughs with MDX
-
Powerful Code Blocks with Code Hike and MDX
Code Hike GitHub Repository
- Build Your Own React
- Scrollycoding â A new way to write code walkthroughs
What are some alternatives?
taffy - A high performance rust-powered UI layout library
shiki - A beautiful yet powerful syntax highlighter
sniffnet - Comfortably monitor your Internet traffic ðĩïļââïļ
didact - A DIY guide to build your own React
formbricks - Open Source Survey Platform
code-video-generator - Generates code walkthrough videos using Manim
nuxt - The Intuitive Vue Framework.
code-hike-example
trpc - ð§ââïļ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
remark - markdown processor powered by plugins part of the @unifiedjs collective
responsively-app - A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
mdx-bundler - ðĶĪ Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports!