Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Test page's code blocks #74

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on May 29, 2018

  1. Test for code block on markdown files

    for now it tests only syntax of bash code starts with '$'
    antoninmrkvica committed May 29, 2018
    Configuration menu
    Copy the full SHA
    3de8edf View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. rename variable "site" to "content", move comment, edit codes inside …

    …method extract_code, add Array of results from testing bash syntax
    antoninmrkvica committed May 30, 2018
    Configuration menu
    Copy the full SHA
    d38693e View commit details
    Browse the repository at this point in the history

Commits on May 31, 2018

  1. WIP: code_block_spec.rb refactoring

    and add comments.
    pvalena authored May 31, 2018
    Configuration menu
    Copy the full SHA
    f4cbfb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2018

  1. Script change

    Add comment, remove unnecessary parts of condition, deleting '\n' from code replace with an array of codelines without '\n' on start/end and whitespaces, rename variables, replace 'results' Array with Hash, change code structure to be easy readable
    antoninmrkvica committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    92643b1 View commit details
    Browse the repository at this point in the history
  2. rename variables, change extract method and extend error message

    rename PAGES to MD_FILES and codespans to code_lines, change extract method, add file path into decsribe error message, replace 'each' with 'inject'
    antoninmrkvica committed Jun 1, 2018
    Configuration menu
    Copy the full SHA
    ceadc09 View commit details
    Browse the repository at this point in the history