Hello World
Welcome to Wanderland!
This page demonstrates one of Wanderland's core features - executable Markdown
The each of the two unique fences on this page are duplicated. The first is a raw markdown fence. The second is the same fence wrapped in Web Component based chrome.
```python[hello-world,execute=false]
result = "Hello, Newman!"
```
<oculus-fence data-fence-id="hello-world"></oculus-fence>the unrendered page
The menu in the top left configures how the component behaves and is displayed. The one in the top right provides interactivity.
Enjoy
[as much as one can enjoy Hello World - this is a good one ;)]
Greeting
Smoke-test target for Lantern's <oculus-fence> component. Contains a single no-parameter Python fence that returns a greeting — the simplest possible thing that can exercise the Select → Execute → Dispatch slice of the fence-execution-contract.
result = "Hello, Newman!"result = "Hello, Newman!"
Greet
Parameterized variant — exercises the submit tab in the Lantern chrome.
'''
Greet a named person.
PARAMS:
name (string): Who to greet
'''
name = config.get('name', 'friend')
result = f"Hello, {name}!"'''
Greet a named person.
PARAMS:
name (string): Who to greet
'''
name = config.get('name', 'friend')
result = f"Hello, {name}!"
Provenance
Document
- Status: 🟢 Demo
- Purpose: Fixture for
lantern-jsx-oculus-fenceramp-up (casetask-8124fc1a-32d6-4c63-895a-f94204e65819).