Code Monkey home page Code Monkey logo

lest's Introduction

Rebolek's corner of the GitHub 👋

All things Red and Rebol. If it's a networking protocol or a file format, I'll write a parser for it and no one can stop me!

When using my software, you must listen to my music. Seriously, that are the terms of the licence. I am on Bandcamp and Soundcloud.

Rebolek's github stats

lest's People

Contributors

kealist avatar rebolek avatar

Stargazers

 avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lest's Issues

HTML entities not supported by MarkDown

Essentially this means that certain & in the source text should not be escaped as & in the HTML.

It's a little tricky and I don't know how CommonMark is going about it. What if you write I enjoy Q&A; it's fun? That works, but if you write I enjoy Q& it's fun StackOverflow won't escape (when writing questions). It's as if it has a list of what the valid entities are, and will only keep from escaping if it's one of those.

(I know there's lots of Markdown stuff, just mentioning things that I use. e.g. this breaks δ and → on the nocycle page)

Cheyenne Web Server

I just discovered Lest and I think it's awesome. However, I'm thinking about using Cheyenne on the backend and it runs on Rebol 2. Is there any technical issue that prevents Lest from being ported to Rebol 2? Thanks!

Improve REPEAT loop

  • FROM should support TIMES
  • full OFFSET support
  • WITH without TIMES (return NONE to stop the loop)

Non-link bracketed text inside of link text breaks link

[[1]](http://example.com) for instance is not recognized as a link, and is shown as plain text.

(Both GitHub and Stackoverflow allow brackets in links, and I cannot tell you how they decide what is o.k. or not, but CommonMark spec may have something to say on it.)

Triple-asterisk leads to unmatched STRONG tag

>> markdown "***FOO***"
== "<strong>*FOO/**"

(What it's supposed to do is be both bold and italic.)

Generally it seems there should be some sort of protection or assert against making unpaired tags in a single call to markdown, as that allows errors to propagate pretty far in the document (perhaps some way of designing it so that can't happen?)

Lest cannot proceed more pages in row

Some values are not initialized when calling LEST, so creating second page throws an error and %lest.reb must be reloaded to work again. This is not problem with simple code snippets.

Rule for horizontal mark triggers on -- *

If you write: "X -- *(It marks the spot!)*"

The markdown rules will turn that into: "X <hr />(It marks the spot!)*"

Expected it just to italicize "(It marks the spot!)"

This result comes from the horizontal-mark rule.

Allow direct assignment of user words

To assign one user word to value of another, following code needs to be used:

x: [b "first user word"]
y: [x]

This should be simplified as:

x: [b "first user word"]
y: x

Links inside styled contexts aren't recognized

If I call markdown on "*[hostilefork](http://hostilefork.com)*" I get"<em>[foo](http://example.com)</em>"

Expected the inner link to be processed.

Similar problems happen if the outer style is done with double asterisks for bold style, etc. Backticks should not recognize markdown inside.

(Note: I assume it's probably obvious...but what happens here is that text is captured without then recursing. So what I'm doing as a workaround is taking context that capture into text, which then put text into the HTML, and replacing it with either xml? [markdown/xml text] [markdown text]...with a recursion-safe modification to markdown. But I'm probably not doing it how you'd want it done.)

Cannot redefine user word

See following code:

x: [b "test] 
x: [i "test"] 
x

This returns <b>test</b> instead of <i>test</i>.

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.