Giter Site home page Giter Site logo

nbourre / vscode-gift-preview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ethan-ou/vscode-gift-preview

0.0 0.0 0.0 899 KB

Moodle's GIFT format extension for VSCode, supporting live question previews.

Home Page: https://ethan-ou.github.io/vscode-gift-docs/

License: MIT License

JavaScript 0.37% TypeScript 87.48% CSS 12.16%

vscode-gift-preview's Introduction

GIFT Format Preview for Visual Studio Code

Version Install Downloads Ratings

Note: This extension requires the GIFT Format Extension. We recommend installing the GIFT Format Pack which bundles both this extension and language support for the GIFT Format.

This extension provides a live preview for Moodle's GIFT format. Using this extension, you can write questions in GIFT while viewing the result in a modified version of Moodle's default theme.

Once installed, preview your questions by right-clicking on a GIFT file in Visual Studio Code, then selecting Open Preview to the Side. Alternatively, press CTRL + K followed by M on your keyboard.

See also: GIFT Format Pack, GIFT Format Extension

Table of Contents

Getting Started

To install the plugin, we'll first need to install Visual Studio Code. Visual Studio Code is an open-source text editor for Windows, macOS and Linux, with powerful features for working with programming languages.

To install Visual Studio Code:

  1. Download the installation file from the Visual Studio Code website.
  2. Install the program.

If you're having trouble with installation, you can consult the Visual Studio Code documentation.

Installation

Once Visual Studio Code is installed, you can add the extension through the Extension Marketplace.

For the majority of users, we recommend installing this extension through the GIFT Language Pack, which includes language support for the GIFT format.

To install the GIFT Language Pack:

  1. Open Visual Studio Code.
  2. Follow this link to the GIFT Language Pack and click the Install button.
  3. When prompted, allow your browser to open Visual Studio Code.
  4. The extension should now be installing in your editor.

Using the Plugin

After installing, open a GIFT file or switch VSCode to the GIFT format. Then, right click and select Open Preview to the Side. Alternatively, press CTRL + K followed by M on your keyboard.

The extension features two screens: a snippet reference screen and the preview screen. You can access the snippet reference at any time by going to the button at the bottom right labelled View Snippets....

Credits

This extension builds on the work of fuhrmanator and is a fork of tht13's html-preview-vscode.

License

MIT

vscode-gift-preview's People

Contributors

dependabot[bot] avatar ethan-ou 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.