Giter Club home page Giter Club logo

markdown-cli's Introduction

Hi there ๐Ÿ‘‹

Welcome to my GitHub page!

๐Ÿ”ญ Iโ€™m currently working on my final degree project: a Turing Machine emulator! ๐Ÿ’ฌ Ask me about anything ๐Ÿ˜„
๐ŸŒฑ Iโ€™m currently learning to manage my time ๐Ÿ“ซ How to reach me: [email protected]
๐Ÿ‘ฏ Iโ€™m looking to collaborate on an open-source project โšก Fun fact: I am a productive procrastinator ๐Ÿ˜‡

My contributions in FOSS

I'm always on the lookout for more interesting contributions!

Projects worth checking out

  • Turing Machine 2.0
    • A next-gen version of the original Turing machine.
    • Made completely in Rust, which means it is cross-platform, performant and memory-safe!
    • A web version is available here
  • Radio CLI:
    • A customizable Radio for your console made in Rust that uses mpv to play radios all around the world.
    • It can even play youtube videos and just download the audio (thanks to mpv)!
  • Tic Tac Toe:
    • A Rusty multiplayer implementation of the Tic Tac Toe game.
    • It compiles to a single binary that contains a server and a client.
    • Two players can join over internet and play any size of board!
  • Turing machine:
    • A programmable, simplified, ideal Turing Machine made in Java using Processing's core utils
    • You can give it a program (following the syntax from the examples) and it will run it as if it had infinite memory on the tape.
    • Its interpreter supports Syntax and Runtime Errors
    • Add the VsCode or the Code-OSS extensions to enable syntax highlighting of the code and more.
  • Markdown renderer:
    • It is incomplete, but it mostly works for 90% of the simpler markdown syntax
    • Lets you convert a simple markdown file into an HTML file, with the option to embed a stylesheet other than the default

markdown-cli's People

Contributors

inoricat avatar margual56 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

inoricat

markdown-cli's Issues

[BUG] - codeblocks have too many breaklines

Describe the bug

The codeblocks (```) have too many newlines between lines

To Reproduce

Steps to reproduce the behavior:

  1. Write a Markdown document with a code block
  2. Execute the program to parse it to HTML
  3. See error

Expected behavior

Not adding <br/> after each \n, because the <pre> tag already recognizes \n.

Additional context

Linked to this issue

[BUG] - When piping to the program, stops reading after an empty line

Describe the bug

When you pipe a file into the program in the "read from stdin" mode (cat file.md | Markdown-CLI or Markdown-CLI -i file.md), it stops reading the stdin when a line is empty. This is because when reading from stdin normally (typing), it needs to stop reading at some moment. And it's programmed so that "the moment" is when you input a blank line.

To Reproduce

Steps to reproduce the behavior:

  1. Create a non-empty file
  2. Add a blank line in the middle of the file
  3. Pipe the file into the program (cat file.md | Markdown-CLI)
  4. See the problem

Expected behavior

Read to the end of the file that is being piped, while maintaining the functionality of reading from stdin by typing.

Additional context

This is a minor bug for the moment, also it is relatively easy to fix. It's a matter of knowin when to end reading from stdin.

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.