raychenon / play-table-of-contents Goto Github PK
View Code? Open in Web Editor NEWWeb app to generate table of contents of markdown file. Built with Play Framework for Scala .
Home Page: http://tableofcontent.eu
License: MIT License
Web app to generate table of contents of markdown file. Built with Play Framework for Scala .
Home Page: http://tableofcontent.eu
License: MIT License
See if it is worth to run on serverless as it is idle most of time
Would it be possible to support generating TOC for reStructuredText files too?
https://clipboardjs.com/ looks like a good candidate
Use a Compile Time Dependency Injection (CT DI ) library Macwire.
Now it is a manual CT DI
After the table of contents is displayed, show the github buttons.
Use https://ghbtns.com/#star
Create a favicon "TOC"
Ignore anything that's contained by ```
# Full URL for authorization endpoint
# Maximum number of retries
Example : https://github.com/zalando-incubator/play-zhewbacca/blob/master/README.md
Package in a Docker container to deploy on a cloud provider.
Use a code formatter for Scala
https://github.com/scalameta/scalafmt
Content-Security-Policy header is currently disabled
play.filters.headers.contentSecurityPolicy=null
Read https://developers.google.com/web/fundamentals/security/csp/ and enforce the security policy
After #41 CI/ CD pipeline -> Docker push , try with AWS CodeDeploy
Add tests especially in the table of contents generation logic ( TableOfContentHelper
)
Use Specs2 .
Some options needed:
- 2 or 4 space indent - else list indentation does not work with 1 space indent in some displays.
- use fill link like https://github.com/sanskrit-coders/indic-transliteration/blob/master/README.md#scala rather than #scala (less important)
source raychenon/auto-toc#2
# PKCS
# PKCS#11
is currently rendered as
**[Table of Contents](http://tableofcontent.eu)**
<!-- Table of contents generated generated by http://tableofcontent.eu -->
- [PKCS](#pkcs)
- [PKCS#11](#pkcs11)
but it should have been
**[Table of Contents](http://tableofcontent.eu)**
<!-- Table of contents generated generated by http://tableofcontent.eu -->
- [PKCS](#pkcs)
- [PKCS#11](#pkcs11)
Escaping the hashtag leads to the same result...
Upgrade from Play 2.5 to 2.6.x
https://www.playframework.com/documentation/2.6.x/Migration26
play.api.libs.concurrent.Execution.Implicits.defaultContext
. ExecutionContext has to be injected in constructorWill help navigation..
Link are incorrect with special chars, examples:
promises::all([ mapper ])
โ #promisesall-mapper-
(#promises::all([-mapper-])
join(p1, ..., pn, cb) / join([p1, ..., pn], cb)
โ #joinp1--pn-cb--joinp1--pn-cb
(#join(p1,-...,-pn,-cb)-/-join([p1,-...,-pn],-cb)
Make the site run on HTTPS
https://www.playframework.com/documentation/2.6.x/WsSSL
If the original Markdown code contain raw HTML (that is a purely acceptable syntax in markdown), it does not get escaped in the resulting output. One way around this would be to output to a textarea where HTML won't be rendered (it's also much easier to copy-paste then!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.