Benct Philip Jonsson

Results 173 comments of Benct Philip Jonsson

Not being able to shadow variables in an upper scope or a calling function is a PITA. In MoonScript, which is to Lua what CS is to JS, all variables...

I came across this when looking for line block related issues to check if another issue I have had been reported. I have not read everything here (it's a lot!)...

Can you give an example of your (markdown?) source? If I understand you correctly you are adding a class `.header` to your heading elements like `````` ## Heading {.header} ``````...

This minimal Lua filter will change the class on all "Header" elements. ``````lua -- Predicate function to filter out 'header' class local is_not_header_class = function(x) return 'header' ~= x end...

I think you need to post-process the HTML. I would do it with either of - Perl and [Mojo::DOM][] (but be warned: this depends on all of [Mojolicious][]!) - Python...

Just for the record the correct word for "row header" is _stub_.

As for a more powerful grid/pipe table syntax to me it is important that there is an easy way to mark a column as a stub (often erroneously called "row...

As for more powerful syntaxes which clash with the "tables-should look like tables" principle the most common requirement is probably the ability to write a table as a list of...

@rauschma now when Pandoc's Lua API includes lpeg/re it would make sense to use an re pattern to parse `\index{...}` strings. An alternative might be to (ab)use Pandoc's citation syntax,...

It's a can of worms though, since different languages have different sorting rules. Hopefully there is a Haskell library similar to [Unicode::Collate][]/[Unicode::Collate::Locale][] or [Sort::ArbBiLex][]. I have ported the latter to...