Coder Social home page Coder Social logo

alexneri / asciiedit Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 7.89 MB

A simple node.js app that lets you preview asciidoc code along with a WYSWYG Editor to edit your asciidoc code.

Home Page: https://asciiedit.vercel.app

License: GNU General Public License v3.0

JavaScript 19.99% EJS 78.48% Nix 1.53%

asciiedit's Issues

Payload too large error

If the contents of the editor and preview window are 'too large', the editor will not generate asciidoc code.

PayloadTooLargeError: request entity too large at readStream (/home/runner/asciiedit/node_modules/raw-body/index.js:156:17) at getRawBody (/home/runner/asciiedit/node_modules/raw-body/index.js:109:12) at read (/home/runner/asciiedit/node_modules/body-parser/lib/read.js:79:3) at textParser (/home/runner/asciiedit/node_modules/body-parser/lib/types/text.js:86:5) at Layer.handle [as handle_request] (/home/runner/asciiedit/node_modules/express/lib/router/layer.js:95:5) at next (/home/runner/asciiedit/node_modules/express/lib/router/route.js:144:13) at Route.dispatch (/home/runner/asciiedit/node_modules/express/lib/router/route.js:114:3) at Layer.handle [as handle_request] (/home/runner/asciiedit/node_modules/express/lib/router/layer.js:95:5) at /home/runner/asciiedit/node_modules/express/lib/router/index.js:284:15 at Function.process_params (/home/runner/asciiedit/node_modules/express/lib/router/index.js:346:12)

Some ASCIIDOC Code will not re-render in the code editor after clicking Save to Code

The nature of this error is intermittent, and may be related to how asciidoc handles docbooks and headers.

The 'Save to Code' function tries to convert the existing text and styles into code, but sometimes header conflicts, such as expected header levels versus whether or not the target "file" is a docbook prevents the update from being saved into asciidoc code.

Related error message:

asciidoctor: ERROR: <stdin>: line 1514: level 0 sections can only be used when doctype is book asciidoctor: WARNING: <stdin>: line 1514: id assigned to section already in use: loans-web-journey-reference-retail asciidoctor: ERROR: <stdin>: line 3025: level 0 sections can only be used when doctype is book asciidoctor: WARNING: <stdin>: line 3025: id assigned to section already in use: loans-web-journey-reference-retail

Editor buttons on the Preview editor window

Add some formatting and editor buttons for the Preview editor window. This includes some text formatting for the text editor, such as Bold, Italicize, Unordered list, Ordered list, Code, Anchor Link, etc.

Github actions Setup

Github actions is not properly setup and needs to be configured for proper CI and testing

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.