Giter Site home page Giter Site logo

2020-04-28-juno-careerhack-week's Introduction

Juno CareerHack Week

Today's Objective: Markdown Editor

NOTES:

1.30pm - Coding ends

2.30pm - Code Review + Votes end

Objective

Today's objective is to create your own Markdown Editor that actually saves to Express!

Markdown, as you probably already know, is a formatting language for text-based documents. This document is written in Markdown. You can see its source to get a taste for what Markdown looks like.

Some examples of Markdown Editors include:

  • StackEdit (simple web-based)
  • Dillinger (simple web-based)
  • Typora (installed, with advanced features)
  • hackmd (this is a lot more than just a simple markdown editor)

Requirements

1. Create a Markdown editor, like the above, that has the following components:

  • Input area
  • Compilation logic (you can use a library for this)
  • Preview panel (no need to do live preview, using a submit button is fine)

Also, you should try to have a good stylesheet for the output HTML (you can use something like Bootstrap, Bulma, etc.)

2. Save your form to Express

You should save your form to Express such that anyone can access the data online after you've submitted it!

Bonus points

You get bonus points for any features other than the above that you can successfully demo.

For example:

  • Live preview (where your edits in the input area automatically show up in the preview panel)
  • Syntax highlighting for input area
  • Selectable themes for input area
  • Selectable themes for preview panel
  • Print to PDF
  • Locally installed (using Electron, for example)
  • Responsive design

That's it!

The most interesting, useful, and cool designs will have a chance of winning -- and they must be written well, too. So, get creative :-)

How to build a simple markdown editor

Building a markdown editor is remarkably simple. You can use libraries for a lot of the functionality, and stitch them together using JavaScript logic.

Here are some suggested components for the various components above:

Input Area - Suggested Libraries

  • Ace Editor

Compilation Logic

Preview Panel

Well, for this one, you just output the compiled HTML to the DOM. :-)

Frameworks:

It is completely possible to build this using jQuery.

You can use React, Vue, Angular if you wish.

Restrictions

  • Your project must use JavaScript.

There are no other restrictions.

2020-04-28-juno-careerhack-week's People

Contributors

monarchwadia avatar derekjj avatar

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.