hackmd-styles.d.ts 412 B

12345678910111213141516
  1. /**
  2. * GROWI styles loader for HackMD
  3. *
  4. * This file will be transpiled as a single JS
  5. * and should be load from HackMD head via 'routes/hackmd.js' route
  6. *
  7. * USAGE:
  8. * <script src="${hostname of GROWI}/_hackmd/load-styles"></script>
  9. *
  10. * @author Yuki Takei <yuki@weseek.co.jp>
  11. */
  12. declare const styles = "<%= styles %>";
  13. /**
  14. * Insert link tag to load style file
  15. */
  16. declare function insertStyle(): void;