Giter Club home page Giter Club logo

cybertoothca / ember-cli-marked-down Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 3.27 MB

This addon provides a means to generate html formatted markup from markdown source. The ShowdownJS library is leveraged to generate the html and this addon has been designed to be configured at the application's `environment.js` level.

License: MIT License

JavaScript 68.34% HTML 4.67% Handlebars 25.46% SCSS 1.54%
ember-addon html-markup showdownjs markdown

ember-cli-marked-down's Introduction

Cheat Sheets

cybertooth.io EmberJs Add-Ons Cheat Sheet

EmberJs Add-On Cheat Sheet

EmberJs Testing Cheat Sheet

Rails Error Messages Cheat Sheet

ember-cli-release Cheat Sheet

rvm (Ruby Version Manager) Cheat Sheet

nvm (Node Version Manager) Cheat Sheet

yarn Cheat Sheet

How To Documents

Ember-Data's rollbackAttributes() function will not rollback changes to your belongs-to relationships; here's a strategy to conquer that shortcoming.

Gist and explanation of enhanced testem.js configuration that runs in browser headless mode by default.

Reference guide for using CircleCI-1.0's parallelism when building an add-on against multiple Ember versions.

References for creating Models, Resources, Policiies, & Controllers that can be consumed effortlessly by Ember Data.

References for creating Ember models, routes, and using various community add-ons.

Reference/Conventions

A work-in-progress concerning ideas revolving around various naming conventions.

ember-cli-marked-down's People

Contributors

dependabot[bot] avatar ember-tomster avatar nadnoslen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ember-cli-marked-down's Issues

Fix Skipped Tests In 1.0

There are a handful of skipped tests in the set-links-target components test class. These skipped tests are a result of PhantomJS not being able to pull the href attribute from an anchor.

Upgrade ember-getowner-polyfill

Having trouble running the polyfill in 1.13.0 tests. Have to explicitly import the getOwner method. That's not correct.

DEPRECATION: ember-getowner-polyfill is now a true polyfill. Use Ember.getOwner directly instead of importing from ember-getowner-polyfill [deprecation id: ember-getowner-polyfill.import]

Support New Options Found In showdown-1.5

Three new options available.

Can I set up the helper to dynamically apply the named arguments? Should be do-able, then any changes to the showdown API will work after upgrading.

Don't forget to add demonstrations of overriding showdown options.

Support Option Configuration Through `environment.js`

Using the options from markdown, assign them to the showdown Converter singleton; here's a list as fo October 2016:

  • omitExtraWLInCodeBlocks: (boolean) [default false] Omit the trailing newline in a code block.
  • noHeaderId: (boolean) [default false] Disable the automatic generation of header ids. Setting to true overrides prefixHeaderId
  • prefixHeaderId: (string/boolean) [default false] Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section' prefix.
  • parseImgDimensions: (boolean) [default false] Enable support for setting image dimensions from within markdown syntax.
  • headerLevelStart: (integer) [default 1] Set the header starting level.
  • simplifiedAutoLink: (boolean) [default false] Turning this on will enable GFM autolink style.
  • literalMidWordUnderscores: (boolean) [default false] Turning this on will stop showdown from interpreting underscores in the middle of words as <em> and <strong> and instead treat them as literal underscores.
  • strikethrough: (boolean) [default false] Enable support for strikethrough syntax.
  • tables: (boolean) [default false] Enable support for tables syntax.
  • tablesHeaderId: (boolean) [default false] If enabled adds an id property to table headers tags.
  • ghCodeBlocks: (boolean) [default true] Enable support for GFM code block style.
  • tasklists:(boolean) [default false] Enable support for GFM takslists.
  • smoothLivePreview: (boolean) [default false] Prevents weird effects in live previews due to incomplete input
  • smartIndentationFix: (boolean) [default false] Tries to smartly fix indentation problems related to es6 template strings in the midst of indented code.

Is The Blueprint Correct?

WTF was I doing in the blueprint? It looks like it is using the included function instead of the afterInstall function to add the bower packages? WTF? Is this working properly?

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.