Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dmitry-timofeev
Copy link
Contributor

Use the last line indent so that the result can be
un-indented by the caller. It prevents results like this:

    /* block 1 */
...
    /* block 2 */

turning them into

    /* block 1 */
    ...
    /* block 2 */

which will be dedented by the caller.

Commits to review:
cf40bdc

dmitry-timofeev and others added 30 commits February 14, 2020 18:25
Added a Travis CI script.

Also added the requirements.txt file, after
mkdocs & nose installation.
Use the file extension as the language class for
highlight.js appears to support file extensions as language
classes, see: https://github.com/highlightjs/highlight.js#supported-languages
It must be more accurate than the file extension.
Allow empty title for code snippets. It may
be useful for short code fragments.
Always use UTF-8 as it is commonly used
for platform-independent source files.
The fix in 2979ea4
was incomplete: see the added tests.
Use the last line indent so that the result can be
un-indented by the caller. It prevents results like this:

```
    /* block 1 */
...
    /* block 2 */
```

turning them into

```
    /* block 1 */
    ...
    /* block 2 */
```

which will be dedented by the caller.
@rnorth
Copy link
Owner

rnorth commented Oct 18, 2020

Trying to unpick these and forming a larger PR, #22, where I'll resolve the conflicts that have arisen

@rnorth rnorth closed this Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants