Page cover

Usage

How to use the Pandoc program to convert your file

Step 3: Build the Project

Navigate to the project directory and build the project using Makefile that will call Stack:

cd B-FUN-400_myPandoc
make

This will compile the project and resolve any dependencies.

Step 4: Running the Program

Once the build is complete, you can run the program directly using Stack:

stack ./mypandoc -- -i inputfile.md -f xml -o outputfile.xml

Replace inputfile.md with your source document, and outputfile.xml with your desired output filename. Adjust the format flags as necessary for your specific conversion needs.

Optional: Configuring Your IDE

For a better development experience, consider configuring your Integrated Development Environment (IDE) to support Haskell. Popular choices include:

  • Visual Studio Code with the Haskell Syntax Highlighting extension.

  • IntelliJ IDEA with the HaskForce plugin.

Step 5: Troubleshooting and Support

If you encounter any issues during the installation or execution of the program, please refer to the README.md file for troubleshooting tips or contact the project maintainers via the GitHub issue tracker.

Last updated