Skip to content

Commit

Permalink
feat: code file
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamsGeeky committed Dec 16, 2023
1 parent b25a944 commit face629
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 11 deletions.
3 changes: 0 additions & 3 deletions docs/C/compilation process.md

This file was deleted.

8 changes: 8 additions & 0 deletions docs/C/compilation process.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar_position: 2
---

import CodeBlock from '@theme/CodeBlock';
import source from '!!raw-loader!./quadratic.c';

<CodeBlock language="c">{source}</CodeBlock>
22 changes: 14 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,14 @@ const config = {
editUrl:
'https://github.com/AdamsGeeky',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/AdamsGeeky',
},
blog: false,
// {
// showReadingTime: true,
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// editUrl:
// 'https://github.com/AdamsGeeky',
// },
theme: {
customCss: './src/css/custom.css',
},
Expand All @@ -151,7 +152,12 @@ const config = {
position: 'left',
label: 'Resources',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://geekink.hashnode.dev/?source=top_nav_blog_home',
label: 'Blog',
position: 'left'

},
{
href: 'https://github.com/AdamsGeeky',
label: 'GitHub',
Expand Down
65 changes: 65 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"raw-loader": "^4.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down

0 comments on commit face629

Please sign in to comment.