Giter Site home page Giter Site logo

alexeysachkov / homebrewery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from naturalcrit/homebrewery

0.0 0.0 0.0 38.37 MB

Create authentic looking D&D homebrews using only markdown

Home Page: http://homebrewery.naturalcrit.com

License: MIT License

JavaScript 74.15% Dockerfile 0.15% Less 24.63% Shell 1.07%

homebrewery's People

Contributors

alexeysachkov avatar bakgaard avatar blitzher avatar brandon-fryslie avatar calculuschild avatar casualsuperman avatar chrisbrickhouse avatar dependabot-preview[bot] avatar dependabot[bot] avatar earlng avatar ericscheid avatar g-ambatte avatar gazook89 avatar jeddai avatar jendave avatar jsocol avatar kmillerdevx3 avatar maxrothman avatar nivthefox avatar rae2che5 avatar rkuerten avatar schemen avatar sprigunn avatar stolksdorf avatar tcyrus avatar vdurmont avatar wayneoween avatar

Watchers

 avatar  avatar

homebrewery's Issues

[Interface] Mark old brew with special badge

v3 contains 2 different brew editors: one for the old version (with html), and another one for new version (without html).

I guess, we would like to remove the old one someday and we need to warn users about it: all old brews should be updated to use new syntax.

I propose the following policy to migrating to the new editor and syntax:

  • First stage. Both version are supported. All new brews using new syntax only, no way to switch back.
    All old brews can be edited and marked with old/deprecated/should be updated badge.
    New button added to editor to change brews version and switch editor. Switching to the new version is permanent and cannot be undone.
  • Second stage. All old brews are now read-only. User can copy source-code if need, but he cannot change it until brew is not promoted to the new version.
  • Third stage. Drop old renderer at all. This is dangerous step: I'm sure that there are a lot of brews created some time ago, shared with community and forgotten by their authors.
    I think that it is possible to account all old brews and implement third stage only when number of old brews is small enough (or all of them are not popular/not shared/etc)

[Brew editor] Fix code highlighting for new syntax

a: ``` monster
##### Monster name
**Stat1**: value1
**Stat2**: value2

Some description
b: ```

Lines a and b should be highlighted, but all lines between should be highlighted as normal markdown-code, not as content of code block

[Brew editor] Improve code highlighting for nested code blocks

Markdown fenced code-blocks are used to represent containers, which may be nested.

Each pair of opening/closing fence should be highlighted with different color. For example:

a: `` block
b: `` nested-block
content
c: ``
d: ``

Lines a and d should be highlighted with color1, lines b and c should be highlighted with color2.

Something like this: example

[Dependencies] Analyze dependencies and submit new issues if necessary

I'm not familiar with all of these node.js packages and the hombrewery internals, but I hope that we can reduce number of dependencies.

At least need to analyze all dependencies to get more understanding, update some if necessary and reduce total number of dependencies (more than 650 currently)

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.