Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 2.77 KB

workflow.md

File metadata and controls

39 lines (34 loc) · 2.77 KB

Workflows

Git, Linux and Julia

The related tutorials are in the book Scientific Computing for Physicists. The following are the links to the tutorials:

GitHub Copilot + Markdown for technical writing

This is a workflow for setting up AI-assisted technical writing using Github Copilot and Markdown.

Step 1: Setup Markdown Editor

  1. Go to VS Code website and download the latest version, then install & open VS Code.
  2. Add the following VS Code extensions. To add an VS Code extension, please click the Extensions button in the left side bar, search for the extension name and click the Install button.
  3. Create a new file and save it as test.md. Then, click the Preview button {width=20px} in the top right corner.
  4. Edit the markdown file. You can learn markdown from here. Math equations can also be rendered. For example, the following code
    $$
    \frac{1}{2}
    $$
    
    will be rendered as $$\frac{1}{2}$$

Step 2: Setup GitHub Copilot

  1. Go to the GitHub website and sign up for a free account.
  2. Install the GitHub Copilot extension. GitHub Copilot requires you to connect with your Github account. You can also use it for free if you are a student (check out) or you will be charged for using it. Learn more from this YouTube video.
  3. You might need to activate the Github Copilot extension by clicking the Activate ({width=20px}) button in the bottom right corner of the VS Code window to make it work. Then you can type some text in the editor and press Tab to confirm the suggestion from Github Copilot.

Step 3: Using Github to host your markdown (optional)

Github is a code hosting platform for version control and collaboration. It allows you to

  • sync files across different devices,
  • work together with others from anywhere, and
  • preview markdown files in the browser.

You can learn GitHub from the YouTube video or the official guide.