DEV Community


I need some help....

Hey! My name is Frasho, aka FRADAR! I am an amateur Game Developer and Web Designer. My hobbies are reading, writing and coding. I have made many games and websites.
ใƒป1 min read

It's just a simple question, and you might think i'm dumb.

I wanted to know if there is any way I could attach files to my posts. If someone could tell me how to do that, it would be of great help.


Discussion (4)

kerthin profile image
Roden • Edited

You can upload them to GitHub and specify a link in your article using this format:

{% github login/repoName %}
Enter fullscreen mode Exit fullscreen mode

Instead of login, insert the GitHub username, and instead of repoName, insert the GitHub repository name.

For example:

{% github facebook/react %}
Enter fullscreen mode Exit fullscreen mode

GitHub logo facebook / react

A declarative, efficient, and flexible JavaScript library for building user interfaces.

React ยท GitHub license npm version CircleCI Status PRs Welcome

React is a JavaScript library for building user interfaces.

  • Declarative: React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable, simpler to understand, and easier to debug.
  • Component-Based: Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
  • Learn Once, Write Anywhere: We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code. React can also render on the server using Node and power mobile apps using React Native.

Learn how to use React inโ€ฆ

fradar profile image

Thanks Roden!

terabytetiger profile image
Tyler V. (he/him)

I don't believe you can directly link to them inline - but you can host the files on GitHub and link to a repository :)

fradar profile image