Coder Social home page Coder Social logo

djkeh / flybook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rhiokim/flybook

0.0 0.0 0.0 510 KB

FlyBook is a simple utility to generate static website such as user manual

Home Page: https://rhiokim.github.io/flybook

JavaScript 53.83% CSS 46.17%

flybook's People

Contributors

djkeh avatar rhiokim avatar

Watchers

 avatar

flybook's Issues

Numbered lists in sidebar

as-is

Flybook currently treats document filenames to titles in sidebar. There's a slight change of naming happening at this moment, and it figures out like:

  • 1._sample_doc.md -> 1 Sample Doc
  • 1.-sample-doc.md -> 1 Sample Doc
  • 1_-_sample_doc.md -> 1 Sample Doc

It seems like one of the policies to handle blanks and special characters.

to-be

This issue suggests to put numbering at the head of each titles(by simply accepting dot(.)), and it might look like:

  • 1._sample_doc.md -> 1. Sample Doc

This issue is to examine whether the idea above is possible, and implement the feature if possible.

Enhancing list spacing

as-is

Flybook renders list elements like below:

image

image

The markup is being rendered as:

<ul>
  <li>Neo4j에서 관계는 항상 방향이 있음을 기억</li>
  <li>사이퍼 문법에는 대소문자 구분 없음</li>
  <li>
    <p>레이블, 노드 식별자, 속성, 값 등에는 대소문자 구분</p>
    <ul>
      <li>함수나 정규식을 통해, 대소문자 구분 없는 검색은 가능</li>
    </ul>
  </li>
  <li>주석 사용 가능: <code>//</code></li>
</ul>

It shows that there's some more room for improvement for the spacing between lines by fixing part of markup rendering result and the css.

to-be

image

image

The markup should be rendered as:

<ul>
  <li>Neo4j에서 관계는 항상 방향이 있음을 기억</li>
  <li>사이퍼 문법에는 대소문자 구분 없음</li>
  <li>
    레이블, 노드 식별자, 속성, 값 등에는 대소문자 구분
    <ul>
      <li>함수나 정규식을 통해, 대소문자 구분 없는 검색은 가능</li>
    </ul>
  </li>
  <li>주석 사용 가능: <code>//</code></li>
</ul>
  • removes <p> tag which seems redundant and makes extra vertical margin to get more space, breaking harmony and consistency with the rest of the list items
  • changes css li+li to li to have all <li>tags have same upper margin to give complete consistency

This issue is to examine whether the idea above is possible, and implement the feature if possible.

Reference

This issue is directly related to rhiokim#21

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.