Skip to content

Instantly share code, notes, and snippets.

@bhavik2936
Last active June 2, 2021 11:49
Show Gist options
  • Save bhavik2936/c6710822c2a0c9816d6ce081ea869838 to your computer and use it in GitHub Desktop.
Save bhavik2936/c6710822c2a0c9816d6ce081ea869838 to your computer and use it in GitHub Desktop.
ReadMe file for redcarpet implementation repository

Redcarpet Gem Example

Demonstrates the use of redcarpet gem for markdown support in text with the help of coderay gem for syntax highlighting.

Description

The project have been implemented to demonstrate how we can use redcarpet gem to make pages supporting markdown in ruby on rails framework.

Install

To setup project locally, follow below instructions.

Project Configuration

Have ruby version ruby-2.7.2 installed as mentioned in Gemfile.

Install necessary dependencies.

# install dependencies mentioned in Gemfile
$ bundle install

# verification of already installed files in node_modules
$ yarn install --check-files

Database Setup

Create and Initialize database.

# migration of database
$ rails db:migrate

Starting the server

To start the server on localhost run the command below. The server will start on default port 3000.

$ rails s
@kishan-aghera
Copy link

kishan-aghera commented Jun 2, 2021

"Demonstrates the use of redcarpet gem for markdown support in text with the help of coderay gem for syntax highlighting." How about this?

@bhavik2936
Copy link
Author

Sounds great!

I'll have it on the revision, and let me know it's good or not!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment