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

General overhaul, remark 0.16.0 #694

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
out
vendor
*.swp
2 changes: 0 additions & 2 deletions .jshintignore

This file was deleted.

18 changes: 0 additions & 18 deletions .jshintrc

This file was deleted.

1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

3 changes: 3 additions & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lts/hydrogen
lts/gallium
lts/fermium
17 changes: 13 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
language: node_js
node_js:
- "8"
- "10"
dist: focal
os: linux
language: node_js
node_js:
- 20
- 18
- 16
- 14
before_install:
- npm i -g npm@latest
script:
- npm ci
- node make all
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### 0.16
* General overhaul

### 0.15
* #374: Improve some descriptions
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: deps
node make all

deps:
npm install
npm ci

test:
node make test
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# remark

[![Build Status](https://travis-ci.org/gnab/remark.svg?branch=develop)](https://travis-ci.org/gnab/remark)
[![Build Status](https://app.travis-ci.com/tripu/remark.svg?branch=develop)](https://app.travis-ci.com/tripu/remark)
[![CDNJS](https://img.shields.io/cdnjs/v/remark.svg)](https://cdnjs.com/libraries/remark)
[![xscode](https://img.shields.io/badge/Available%20on-xs%3Acode-blue?style=?style=plastic&logo=appveyor&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAAlUlEQVR42uzXSwqAMAwE0Mn9L+3Ggtgkk35QwcnSJo9S+yGwM9DCooCbgn4YrJ4CIPUcQF7/XSBbx2TEz4sAZ2q1RAECBAiYBlCtvwN+KiYAlG7UDGj59MViT9hOwEqAhYCtAsUZvL6I6W8c2wcbd+LIWSCHSTeSAAECngN4xxIDSK9f4B9t377Wd7H5Nt7/Xz8eAgwAvesLRjYYPuUAAAAASUVORK5CYII=)](https://xscode.com/gnab/remark)
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4ADT275DY7JTG)

A simple, in-browser, markdown-driven slideshow tool targeted at people who know their way around HTML and CSS, featuring:

Expand Down
2 changes: 1 addition & 1 deletion boilerplate-single.html

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
"license": "MIT",
"ignore": [
".gitignore",
".gitmodules",
".jshintignore",
".jshintrc",
"HISTORY.md",
"LICENSE",
"make.js",
"Makefile",
"package.json",
"package-lock.json",
"bower_components",
"node_modules",
"src",
Expand Down
19 changes: 1 addition & 18 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,13 @@ target.highlighter = function () {
};

target.test = function () {
target['lint']();
target['bundle']();
bundleResources('src/remark/resources.js');
target['test-bundle']();

console.log('Running tests...');
run('mocha-chrome test/runner.html', true);
};

target.lint = function () {
console.log('Linting...');
run('jshint src');
};

target.bundle = function () {
console.log('Bundling...');
bundleResources('src/remark/resources.js');

mkdir('-p', 'out');

run('browserify ' + components() + ' src/remark.js').stdout.to(
'out/remark.js',
);
};

function components() {
var componentsPath = './src/remark/components';

Expand Down
Loading