Giter Club home page Giter Club logo

bm's People

Contributors

pastly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bm's Issues

Moving to a better markdown parser

Since I'm sticking with bm for my blog needs, I figure might as well do stuff properly.

You're using the OG Markdown parser which, well, is quite outdated. No support for strikethroughs or automatic links or fenced code blocks and stuff.

I'm tempted to wrestle with shell scripts and whatnot to migrate to something more modern such as the github flavored markdown. I'm looking at https://github.com/github/cmark-gfm right now

My question is, would that be something you're interested in or am I better off just doing it for myself?

You may open issues here, but they will be tracked on Gogs

I welcome bug reports and feature requests on Github now. But I'll likely manually copy it to Gitea in order to keep track of everything in one place.

Please open issues on Gitea if you can (the email you use to make an account doesn't have to be real!), but you may open them here too.

[BUG] Unintended Unindented Code

It looks like any initial whitespace gets trimmed while rendering, which is especially problematic for code snippets in a programming language where indentation is crucial like Python but also for readability I guess.

You can see the indentation is preserved in the .bm file https://github.com/aadibajpai/blog/blob/master/posts/2020/06/castorsctf-2020-writeups-DyHHAa2o.bm#L125-L134 but if you see the rendered output you'll notice there's no indentation https://aadibajpai.com/blog/p/DyHHAa2o.html#magic-school-bus

I'd be happy to try and fix it, but I'm not sure how to 🙂

{toc} seems to be broken

image

Output of meta/<post_id>/toc

- <a href='#1-choose-your'>1. Choose your org early.</a>
- <a href='#2-get-acquainted'>2. Get acquainted with how version control works.</a>
- <a href='#3-quality-over'>3. Quality over quantity would be the way to go except...</a>
- <a href='#4-try-to'>4. Try to make life easier for your org.</a>
- <a href='#5-don’t-restrict'>5. Don’t restrict yourself to tasks.</a>
- <a href='#6-try-to'>6. Try to get really involved.</a>
- <a href='#7-last-but'>7. Last but not the least, be nice be respectful.</a>
- <a href='#useful-links'>Useful Links-</a>

[BUG] Quoted and Code lines do not get wrapped

If you see this post, you'll notice how especially large numbers don't get wrapped and continue beyond the margins.

While simply ugly on desktop, it's worse on mobile devices because the long lines squish the margins for rest of the text which hampers readability for the whole article.

Something like a scrollbar like github does

41027546415588921135190519817388916847442693284567375482282571314638757544938653824671437300971782426302443281077457253827782026089649732942648771306702020

or even text wrapping might be very useful here.

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.