Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Programming Cheat Sheets in Markdown

NotificationsYou must be signed in to change notification settings

LouisPetrik/codehints

Repository files navigation

A repertoire of programming-related cheat sheets, created with Markdown.The cheat sheets can be viewed on the websitecodehints.io but also here on GitHub, in the file explorer. Contributions are welcome.

Table of Contents

Cheatsheets Table of Contents

Here is a list of the content on the website. The links refer to the corrosponding Markdown files.

C++

master -> main/docs

Go

Haskell

PureScript

WebAssembly

Contributing

Contributing is possible via GitHub. Alternatively, you can send in content, content-drafts or content-ideasvia Mail:louispetrik@aol.com.

Style Guidelines

The following are Guidelines to myself and others for adding contnet.

Each Markdown file has a header section on top which will be rendered to .Therefore it holds the title, the description etc.

Make sure each file at leasts holds a minimal header with a title:

---title:The title---Each technology has one intro.md in its directory. This file always hasa header like this:```markdown---title: Introduction to Technology-namesidebar_position: 1slug: /category/technology-name---```

Each of the files has the h2 headings:

  • What is technology-name? (use cases, projects etc. )
  • Hello World in technology-name
  • Further Code examples (optional)
  • Packages (optional)
  • Author's Notes (optional)
  • Sources
  • Additional Ressources

Please do not use uncloses XML tags anywhere as this willbreak anything. Thank you.

Using MDX

In the markdown pages, React components can be used, thanks to MDX.js.Create a component in the /components directory. Finally, import and renderit in a page like this:

---title:Introduction to React.jssidebar_position:1slug:/category/react---import Bar from "@site/src/components/Bar";#IntroductionA component: <Bar />

Within the React component, React needs to be importet explicitly!

importReact,{useState,useRef}from'react'

Todos

Content

  • ChatGPT Cheatsheet
  • GitHub Copilot Cheatsheet
  • Interfaces in C++
  • Filling out AssemblyScript and TypeScript
  • Basics of C
  • Bun Cheatsheet
  • "Cheatsheet" -> "Cheat sheets"
  • Make links in Repo README work

Make content prettier using admonitions

These can be used to create note, tip, info, caution and danger banners.Usage:

:::noteThis is a note.::::::tipThis is a tip:::

Technical

  • Make search bar results more specific (Maybe rename all "Arrays" to "Arrays in C++" for example)I will equip all pages containing "Array" with some front matter to see, if adding more meta info helps."Arrays" appears in assemblyscript, go and c++

  • Preview image when sharing via WhatsApp, Twitter etc.

About

Programming Cheat Sheets in Markdown

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp