Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Code completion / Templates #42

Open
CashWilliams opened this issue Oct 14, 2015 · 5 comments
Open

Code completion / Templates #42

CashWilliams opened this issue Oct 14, 2015 · 5 comments

Comments

@CashWilliams
Copy link

The editor should be aware of gitbook syntax with code completion or whatever Atom calls it.

Where [something] and [something else] are placeholder text or curser input points...

{% raw %}

{% endraw %}
{{ [something] }}
{% if [something] %}

{% endif %}
{% if [something] %}

{% elif [something else] %}

{% else %}

{% endif %}
{% for [something] in [something else] %}

{% endfor %}
{% include "[something]" %}
{% extends "[something]" %}
{% block [something] %}

{% endblock %}
{% import "[something]" %}
@cthos
Copy link
Owner

cthos commented Oct 14, 2015

@CashWilliams - Are Snippets sufficient for your use case? https://atom.io/docs/latest/using-atom-snippets

We can include those in the package.

@CashWilliams
Copy link
Author

Yep, exactly what I'm thinking.

So markdown files already have most of them, but the gitbook specific stuff is what we'd need to add.

@CashWilliams
Copy link
Author

Updating ticket description

@cthos
Copy link
Owner

cthos commented Oct 14, 2015

Where'd you get that list? The last 3 don't seem to appear here: https://help.gitbook.com/format/templating.html

@CashWilliams
Copy link
Author

https://help.gitbook.com/format/conrefs.html
On Wed, Oct 14, 2015 at 4:32 PM Alexander Ward notifications@github.com
wrote:

Where'd you get that list? The last 3 don't seem to appear here:
https://help.gitbook.com/format/templating.html


Reply to this email directly or view it on GitHub
#42 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants