Skip to content

Latest commit

 

History

History
206 lines (126 loc) · 6.31 KB

installation.md

File metadata and controls

206 lines (126 loc) · 6.31 KB

Developing md2pdf

  1. Copy the following text:

    Set-ExecutionPolicy Bypass -Scope Process -Force
    [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
    iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  2. Press Win. An interface should pop up as shown below:

    1

  3. Search for settings by typing "Settings" in the text field as shown below:

    2

    Press Enter.

  4. A window should pop up as shown below:

    3

    Press "Apps" in the selection below.

  5. You should be redirected to "Apps & Features" as shown below:

    4

    Below the subtitle "Apps & Features", press the hyperlink "App execution aliases".

  6. You should be redirected to "App execution aliases" as shown below:

    5

    Toggle the "App installer" for both "python.exe" and "python3.exe". Exit the settings app.

  7. Press Windows + R (Press Windows and R keys simultaneously)

  8. A window with a title Run should appear. Focus to the said window in the Open: text field by hovering the mouse towards the said text field and left-clicking the mouse and type powershell as shown below:

  9. Press Ctrl + Shift + Enter (Press Ctrl, Shift, and Enter keys simultaneously).

  10. A window with a title User Account Control should appear as shown below:

  11. Focus to the said window and press the Yes button by hovering the mouse towards the said button and left-clicking the mouse. A window named Administrator: Windows Powershell should pop-up.

  12. Focus to the window named Administrator: Windows Powershell window by hovering the mouse towards the said window and left-clicking the mouse. Then, press Ctrl + V (Press Ctrl and V keys simultaneously), and Enter afterwards.

    If the window Administrator: Windows Powershell seems to hang up, focus to said window by hovering the mouse towards the said window and left-clicking the mouse, then press Enter five times every minute or so until something happens.

  13. Restart your computer, then login to the user account to which you have done the above instructions at.

  14. Copy the following text:

    choco install -y python

    Then, repeat step 7-12.

  15. Copy the following text:

    python3 -m pip install wh-m2p

    Then, repeat step 12.

Congratulations, you can now use md2pdf by copying the following text:

m2p

OR this:

python3 -m md2pdf

Then doing the following steps:

  1. Press Windows + R (Press Windows and R keys simultaneously)

  2. A window with a title Run should appear. Focus to the said window in the Open: text field by hovering the mouse towards the said text field and left-clicking the mouse and type powershell as shown below:

  3. Press Enter.

  4. Focus to the window named Administrator: Windows Powershell window by hovering the mouse towards the said window and left-clicking the mouse. Then, press Ctrl + V (Press Ctrl and V keys simultaneously), and Enter afterwards.

  1. Open your preferred terminal and run the following command:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. Next, for OS X 10.13 (High Sierra) or younger, run the following command:

    echo 'export PATH="/usr/local/opt/python/libexec/bin:$PATH"' >> ~/.profile

    And for OS X 10.12 (Sierra) or older, use the following command instead:

    echo 'export PATH=/usr/local/bin:/usr/local/sbin:$PATH' >> ~/.profile
  3. Afterwards, install the rest of the prerequisites by running the following command:

    brew install python
  4. Install md2pdf by running the following command:

    python3 -m pip install wh-m2p

Congratulations, you can now use md2pdf by running the following:

m2p

OR

python3 -m md2pdf
  1. Open your preferred terminal and run the following command to install the prerequisites:

    sudo apt update -y
    sudo apt install -y python3-pip
  2. Finally, install md2pdf by running the following command:

    python3 -m pip install wh-m2p

Congratulations, you can now use md2pdf by running the following:

m2p

OR

python3 -m md2pdf
  1. Open your preferred terminal and run the following command to install the prerequisites:

    sudo pacman -Syyu --noconfirm python
  2. Finally, install md2pdf by running the following command:

    python3 -m pip install wh-m2p

Congratulations, you can now use md2pdf by running the following:

m2p

OR

python3 -m md2pdf